Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Webpack.Js | Webpack-Dev-Server | < 5.2.6 |
Related Weaknesses (CWE)
References
- https://cna.openjsf.org/security-advisories.htmlThird Party Advisory
- https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-m28w-2pqfMitigationVendor AdvisoryPatch
FAQ
What is CVE-2026-14631?
CVE-2026-14631 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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...
How severe is CVE-2026-14631?
CVE-2026-14631 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-14631?
Check the references section above for vendor advisories and patch information. Affected products include: Webpack.Js Webpack-Dev-Server.