CVE-2026-14631
published medium CVSS 3.1 · 5.3webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| webpack-dev-server | — | webpack-dev-server0 to < 5.2.6 (affected · semver) · 5.2.6 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| webpack-dev-server | webpack-dev-server | 0 to < 5.2.6 (affected · semver)5.2.6 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
2- CWE-20 CWE-20: Improper Input Validation
- CWE-248 CWE-248: Uncaught Exception
References
2Provider assertions
2openjs · cna
webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4bc227189bdd8f4fb0f20d9131cc261b74de028803160ff1e2486454b063224a
- Ingested
- 23 Sep 2026, 09:01:59 UTC
- Source record
- Official CVE record