7.5

CVE-2018-14732: webpack.js webpack-dev-server Improper Input Validation

CVSS: 7.5v3.0HighModified
AliasesGHSA-cf66-xwfp-gvc4
Published 21-09-2018Last modified 05-08-2024

Vulnerability summary

CVE-2018-14732 is a high (CVSS 7.5) Improper Input Validation vulnerability in webpack.js webpack-dev-server. EPSS estimates a 2.56% chance of exploitation in the next 30 days, higher than 84.8% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
41/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.0 (NVD)
EPSS score
2.56%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, reference

Timeline

  1. 21-09-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

Description

An issue was discovered in lib/Server.js in webpack-dev-server before 3.1.6. Attackers are able to steal developer's code because the origin of requests is not checked by the WebSocket server, which is used for HMR (Hot Module Replacement). Anyone can receive the HMR message sent by the WebSocket server via a ws://127.0.0.1:8080/ connection from any origin.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

2.56%

Chance of exploitation in the next 30 days

Percentile

85%

Versus all other CVEs

30-day change

0.00 pp

From 2.56% on 20-09-2026

20-09-202620-10-2026
EPSS score
2.56%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • githubUnverified

    Webpack Dev Server

    Maturity: poc

  • referenceUnverified

    Exploit Reference (blog.cal1.cn)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Npm1 product
  • webpack-dev-server< 3.1.11
Webpack.js1 product

2 vendors · 2 products

References

8 links