An issue was discovered in lib/Server.js in webpack-dev-server before 3.1.6.
Priority LOW 38CWE-20Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
EPSS 0.02486 84th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed webpack-dev-server (npm): 3.1.11
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | webpack-dev-server (npm) | before 3.1.11 | 3.1.11 | Patch available | GHSA-cf66-xwfp-gvc4 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- webpack-dev-server (npm) Vendor— Affected before 3.1.11 Fixed in 3.1.11 Patch available GHSA-cf66-xwfp-gvc4
Remediation
- Fix · GHSA-cf66-xwfp-gvc4 webpack-dev-server (npm) Fixed in 3.1.11 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2018-14732
- 2026-10-03 Alias added: GHSA-cf66-xwfp-gvc4
References
Exploit 2
Patch 1
More Webpack-dev-server vulnerabilities
- TI-2025-21666 Origin validation error in webpack-dev-server CVSS 3.1MEDIUM 6.5
- TI-2025-21665 webpack-dev-server users' source code may be stolen when they access a malicious web site CVSS 3.1MEDIUM 5.9
- TI-2026-79248 Missing Origin checks on proxied WebSockets in webpack-dev-server CVSS 3.1HIGH 8.2
- TI-2026-12328 webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header CVSS 3.1MEDIUM 5.3
- TI-2026-79254 Host validation bypass in webpack-dev-server leaks stack traces CVSS 3.1MEDIUM 5.3
- TI-2026-08430 webpack-dev-server vulnerable to HMR WebSocket interception via permissive user proxies CVSS 3.1MEDIUM 5.3
Sources
- CVE-2018-14732 · CVE Program
- CVE-2018-14732 · NVD
- FIRST EPSS
- GHSA-cf66-xwfp-gvc4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences