# CVE-2026-14631: webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header

- Severity: Medium 5.3 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-07-03T17:23:41.451Z
- Modified: 2026-09-10T03:50:52.455Z
- Also known as: GHSA-m28w-2pqf-7qgj
- Weaknesses: CWE-20, CWE-248
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- webpack-dev-server webpack-dev-server: before 5.2.6 (not affected: 5.2.6)
- webpack-dev-server (npm): before 5.2.6
- webpack.js webpack-dev-server: before 5.2.6

## Every score

- openjs: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-m28w-2pqf-7qgj> (mitigation, patch, vendor-advisory, web)
- <https://cna.openjsf.org/security-advisories.html> (third-party-advisory, 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)

## Sources

- CVE List: [CVE-2026-14631](https://www.cve.org/CVERecord?id=CVE-2026-14631), CVE Terms of Use, modified 2026-07-06
- GitHub Advisory Database: [GHSA-m28w-2pqf-7qgj](https://github.com/advisories/GHSA-m28w-2pqf-7qgj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-14631](https://nvd.nist.gov/vuln/detail/CVE-2026-14631), Public domain, modified 2026-07-07

---

Page: https://cve.day/CVE-2026-14631 · Whole record: https://cve.day/CVE-2026-14631.json · Rebuilt by cve.day 2026-11-25T22:59:27.100Z
