High severity7.5NVD Advisory· Published Sep 21, 2018· Updated Jun 17, 2026
CVE-2018-14732
CVE-2018-14732
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
webpack-dev-servernpm | < 3.1.11 | 3.1.11 |
Affected products
2Patches
Vulnerability mechanics
References
8- github.com/webpack/webpack-dev-server/commit/f18e5adf123221a1015be63e1ca2491ca45b8d10nvdPatchThird Party AdvisoryWEB
- blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20MessagesnvdExploitThird Party Advisory
- github.com/webpack/webpack-dev-server/issues/1445nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-cf66-xwfp-gvc4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-14732ghsaADVISORY
- github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.mdghsaWEB
- github.com/webpack/webpack-dev-server/issues/1620ghsaWEB
- www.npmjs.com/advisories/725ghsaWEB
News mentions
0No linked articles in our index yet.