{"id":"CVE-2026-14631","state":"PUBLISHED","title":"webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header","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.","publishedAt":"2026-07-03T17:23:41.451Z","updatedAt":"2026-07-06T15:54:11.285Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"openjs"},"assigner":"openjs","products":["webpack-dev-server webpack-dev-server"],"affected":[{"vendor":"webpack-dev-server","product":"webpack-dev-server","packageURL":"pkg:npm/webpack-dev-server","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.2.6","versionType":"semver"},{"version":"5.2.6","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-m28w-2pqf-7qgj","https://cna.openjsf.org/security-advisories.html"],"weaknesses":["CWE-20","CWE-248"],"ingestedAt":"2026-10-29T20:11:00.674Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/14xxx/CVE-2026-14631.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-14631","state":"PUBLISHED","datePublished":"2026-07-03T17:23:41.451Z","dateUpdated":"2026-07-06T15:54:11.285Z","assignerShortName":"openjs","assignerOrgId":"ce714d77-add3-4f53-aff5-83d477b104bb","dateReserved":"2026-07-03T17:15:55.995Z"},"containers":{"cna":{"title":"webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"webpack-dev-server","product":"webpack-dev-server","packageURL":"pkg:npm/webpack-dev-server","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.2.6","versionType":"semver"},{"version":"5.2.6","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-m28w-2pqf-7qgj"},{"url":"https://cna.openjsf.org/security-advisories.html"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","baseScore":5.3,"baseSeverity":"MEDIUM"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-248","lang":"en","description":"CWE-248: Uncaught Exception","type":"CWE"}]}],"providerMetadata":{"shortName":"openjs","orgId":"ce714d77-add3-4f53-aff5-83d477b104bb","dateUpdated":"2026-07-03T17:23:41.451Z"},"credits":[{"lang":"en","type":"reporter","value":"Str1ckl4nd"},{"lang":"en","type":"coordinator","value":"bjohansebas"},{"lang":"en","type":"analyst","value":"UlisesGascon"}],"x_generator":{"engine":"cve-kit 1.0.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-06T15:54:04.567228Z","id":"CVE-2026-14631","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-06T15:54:11.285Z"}}]}}}