Improper input validation in Webpack-Dev-Server
CVE-2026-14631
- CVSS v3
- 5.3 Medium
- Public exploits
- None known
- EPSS
- 0.005 · 44.9th percentile
- Published
- 2026-07-03
webpack-dev-server versions 5.2.5 and earlier terminate the whole Node.js process when an unauthenticated peer sends either a normal HTTP request with a malformed Host header or a WebSocket upgrade to the default /ws endpoint with a malformed Origin header. The malformed value causes an uncaught exception in the host-validation path and crashes the dev server. Impact is limited to availability of the development server, no data disclosure, no code execution. Patches: upgrade to webpack-dev-server 5.2.6. Workarounds: keep the dev server bound to localhost (the default) and do not expose it to untrusted networks.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.005, 44.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Webpack-Dev-Server — versions 0, 5.2.6
- Webpack.js Webpack-Dev-Server
Weakness classification (CWE)
References
- github.com/webpack/webpack-dev-server/security/advisories/GHSA-m28w-2pqf-7qgj (Patch, Mitigation, Vendor Advisory)
- cna.openjsf.org/security-advisories.html (Third Party Advisory)