High severityNVD Advisory· Published Sep 21, 2018· Updated Aug 5, 2024
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
1Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- github.com/advisories/GHSA-cf66-xwfp-gvc4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-14732ghsaADVISORY
- blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messagesmitrex_refsource_MISC
- github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.mdghsaWEB
- github.com/webpack/webpack-dev-server/commit/f18e5adf123221a1015be63e1ca2491ca45b8d10ghsax_refsource_CONFIRMWEB
- github.com/webpack/webpack-dev-server/issues/1445ghsax_refsource_CONFIRMWEB
- github.com/webpack/webpack-dev-server/issues/1620ghsaWEB
- www.npmjs.com/advisories/725ghsaWEB
News mentions
0No linked articles in our index yet.