CVE-2018-14732
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductWebpack.js Webpack-dev-server
PublishedSep 21, 2018
First seenSep 21, 2018
How to fix
Update
- webpack.js webpack-dev-server3.1.6 or later
- webpack-dev-server3.1.11 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| webpack.js webpack-dev-server | v < 3.1.6 | 3.1.6 |
| webpack-dev-servernpm | v < 3.1.11 | 3.1.11 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.