Live threats

All CVEs / Webpack.js

CVE-2026-14631Webpack.js Webpack-dev-server

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Jul 3, 2026
Updated
Jul 7, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-248
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Webpack-dev-server.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm webpack-dev-server < 5.2.6 5.2.6 npm install webpack-dev-server@5.2.6

Per OSV / GitHub Advisories (GHSA-m28w-2pqf-7qgj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
webpack.jswebpack-dev-server< 5.2.6

Official sources

References

Links published by the sources. Open them with care.