CVE-2026-14631
MEDIUM 5.3CVSS 3.1webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header
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
- 3 Jul 2026
- Last modified
- 10 Sep 2026
- Assigned by
- ce714d77-add3-4f53-aff5-83d477b104bb
- NVD status
- Analyzed
- Weakness
- CWE-20CWE-248
- Also known as
- GHSA-m28w-2pqf-7qgj
- Sources
- NVDJSONOSV GHSA-m28w-2pqf-7qgjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | webpack.js | webpack-dev-servercpe:2.3:a:webpack.js:webpack-dev-server:*:*:*:*:*:*:*:* |
< 5.2.6 | 5.2.6 |
| OSV | npm | webpack-dev-server | < 5.2.6 | 5.2.6 |
References
- https://cna.openjsf.org/security-advisories.html · Third Party Advisory, WEB
- https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-m28w-2pqf-7qgj · Mitigation, Vendor Advisory, Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-14631 · ADVISORY
- https://github.com/webpack/webpack-dev-server/pull/5699 · WEB
- https://github.com/webpack/webpack-dev-server/commit/f21ed0f44aceb6132abb591ee8b60d770b6e489f · WEB
- https://github.com/webpack/webpack-dev-server · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 3 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jul 2026)