Security mailing lists by PureSourceCode

CVE-2026-14631

MEDIUM 5.3CVSS 3.1

webpack-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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD webpack.js webpack-dev-server
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.