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.
Published: 2026-07-03
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

webpack-dev-server versions 5.2.5 and earlier crash the entire Node.js process when an unauthenticated client sends a normal HTTP request with a malformed Host header or attempts a WebSocket upgrade to the default /ws endpoint using a malformed Origin header. The malformed value triggers an uncaught exception in host- validation logic, terminating the development server. This flaw only affects availability; it does not disclose data or allow code execution.

Affected Systems

The vulnerability affects all releases of webpack-dev-server up to and including 5.2.5. Any Node.js environment running the development server that is exposed to external traffic is potentially impacted. The issue is resolved in 5.2.6 and later, and keeping the server bound to localhost limits exposure to local developers.

Risk and Exploitability

An attacker needs only network access to the exposed development server and no authentication to trigger the crash. The CVSS score of 5.3 indicates moderate severity, while the EPSS score of less than 1% suggests a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. If the server is reachable from untrusted networks, a crafted HTTP or WebSocket request with a malformed Host or Origin header can reliably cause the server to stop.

Generated by OpenCVE AI on August 1, 2026 at 20:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade webpack-dev-server to version 5.2.6 or newer to eliminate the crash condition.
  • Maintain the default localhost binding so the development server remains accessible only to the local machine.
  • If external access is required, place the server behind a firewall or reverse‑proxy that rejects requests containing malformed Host or Origin headers.

Generated by OpenCVE AI on August 1, 2026 at 20:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-m28w-2pqf-7qgj webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header
History

Wed, 29 Jul 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Webpack.js
Webpack.js webpack-dev-server
Vendors & Products Webpack.js
Webpack.js webpack-dev-server

Mon, 06 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 03 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
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.
Title webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header
Weaknesses CWE-20
CWE-248
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Subscriptions

Webpack.js Webpack-dev-server
cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-07-06T15:54:11.285Z

Reserved: 2026-07-03T17:15:55.995Z

Link: CVE-2026-14631

cve-icon Vulnrichment

Updated: 2026-07-06T15:54:07.668Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-03T18:16:24.687

Modified: 2026-07-07T15:08:59.667

Link: CVE-2026-14631

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-03T17:23:41Z

Links: CVE-2026-14631 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T20:30:12Z

Weaknesses