{"id":"CVE-2026-14631","published":"2026-07-03T17:23:41Z","modified":"2026-07-06T15:54:11Z","title":"webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header","vendor":"webpack-dev-server","product":"webpack-dev-server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00517,"percentile":0.37238,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-248","name":"Uncaught Exception"}],"references":[{"url":"https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-m28w-2pqf-7qgj","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":7.45},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"webpack-dev-server","affectedVersions":[{"vendor":"webpack-dev-server","product":"webpack-dev-server","versions":["< 5.2.6"]}],"fixedVersions":[{"vendor":"webpack-dev-server","product":"webpack-dev-server","versions":["5.2.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-06T15:54:04.567228Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"webpack-dev-server","vulnerableRanges":["<5.2.6"],"patched":["5.2.6"],"from":["GHSA-m28w-2pqf-7qgj"],"provenance":"source"}],"summary":{"text":"The webpack-dev-server component of the webpack-dev-server product mishandles malformed Host or Origin headers in its host-validation path, leading to an uncaught exception. An unauthenticated remote attacker who can reach the dev server over the network can crash the whole Node.js process by sending either an HTTP request with a malformed Host header or a WebSocket upgrade to the default /ws endpoint with a malformed Origin header, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:03Z"},"euvd":{"id":"EUVD-2026-41559","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-webpack-dev-server-cve-2018-14732","parents":[{"from":"CVE-2025-30359","to":"CVE-2026-14631","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/Server.js"],"commits":["https://github.com/webpack/webpack-dev-server/commit/d2575ad8dfed9207ed810b5ea0ccf465115a2239","https://github.com/webpack/webpack-dev-server/commit/5c9378bb01276357d7af208a0856ca2163db188e","https://github.com/webpack/webpack-dev-server/commit/f21ed0f44aceb6132abb591ee8b60d770b6e489f"],"basis":"shared function","functions":["Server"]}]},{"from":"CVE-2025-30360","to":"CVE-2026-14631","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/Server.js"],"commits":["https://github.com/webpack/webpack-dev-server/commit/5c9378bb01276357d7af208a0856ca2163db188e","https://github.com/webpack/webpack-dev-server/commit/72efaab83381a0e1c4914adf401cbd210b7de7eb","https://github.com/webpack/webpack-dev-server/commit/f21ed0f44aceb6132abb591ee8b60d770b6e489f"],"basis":"shared function","functions":["Server"]}]},{"from":"CVE-2026-14620","to":"CVE-2026-14631","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/Server.js"],"commits":["https://github.com/webpack/webpack-dev-server/commit/80cd9eea54975fe632a518d8bd902a260f374e7c","https://github.com/webpack/webpack-dev-server/commit/f21ed0f44aceb6132abb591ee8b60d770b6e489f"],"basis":"shared function","functions":["Server"]}]}],"packageHistory":[{"cve":"CVE-2026-6402","published":"2026-05-12","fixed":"5.2.4","kev":false},{"cve":"CVE-2026-9595","published":"2026-06-15","fixed":"5.2.5","kev":false,"link":{"from":"CVE-2026-9595","to":"CVE-2026-14631","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:webpack-dev-server","fromFixed":"5.2.5","toFixed":"5.2.6","daysApart":18}]}},{"cve":"CVE-2026-14620","published":"2026-07-03","fixed":"5.2.6","kev":false},{"cve":"CVE-2026-14631","published":"2026-07-03","fixed":"5.2.6","kev":false}],"package":"npm:webpack-dev-server"}}