{"id":"GHSA-m28w-2pqf-7qgj","revision":"e1fe9c040ace40e09b43be24165b02ed","records":[{"revision":"e1fe9c040ace40e09b43be24165b02ed","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-m28w-2pqf-7qgj","aliases":["CVE-2026-14631"],"title":"webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header","description":"### Impact\n\nAn unauthenticated peer that can reach the `webpack-dev-server` process can terminate it by sending 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 header triggers an uncaught exception in the host-validation path and crashes the dev server process.\n\n### Patches\n\nFixed in `webpack-dev-server` 5.2.6 by treating malformed `Host` and `Origin` header values as invalid rather than throwing (see [PR #5699](https://github.com/webpack/webpack-dev-server/pull/5699)).\n\n### Workarounds\n\nKeep the dev server bound to `localhost` (the default) and do not expose it to untrusted networks.","state":0,"publishedAt":"2026-07-20T22:02:31+00:00","modifiedAt":"2026-09-10T03:50:52.4559061+00:00","affected":[{"ecosystem":"npm","name":"webpack-dev-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"5.2.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-m28w-2pqf-7qgj","https://nvd.nist.gov/vuln/detail/CVE-2026-14631","https://github.com/webpack/webpack-dev-server/pull/5699","https://github.com/webpack/webpack-dev-server/commit/f21ed0f44aceb6132abb591ee8b60d770b6e489f","https://cna.openjsf.org/security-advisories.html","https://github.com/webpack/webpack-dev-server"],"sourceUrl":"https://github.com/advisories/GHSA-m28w-2pqf-7qgj","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-m28w-2pqf-7qgj","identifiers":["GHSA-m28w-2pqf-7qgj","CVE-2026-14631"]},"retained":false,"historicalAffected":[]}],"coverage":[]}