CVE-2026-9595: Impact: When a user-configured proxy on webpack-dev-server has a broad context (e.g
CVE-2026-9595 is a medium-severity flaw (CVSS 5.3) affecting webpack-dev-server. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Impact: When a user-configured proxy on webpack-dev-server has a broad context (e.g. /) and ws: true, it also intercepts the dev server's own HMR WebSocket and forwards it to the proxy target. This leaks the browser's cookies and Origin header to the backend, bypasses the dev server's Host/Origin validation, and corrupts the HMR socket (both HMR and the proxy end up writing to the same socket). Patches: Fixed in webpack-dev-server@5.2.5. Workar
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-9595?
webpack-dev-server: upgrade to 5.2.5. Exact commands for each OS are on this page.
Is CVE-2026-9595 being exploited?
CVE-2026-9595 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-9595 affect?
CVE-2026-9595 affects webpack-dev-server. Severity is medium (CVSS 5.3). Impact: When a user-configured proxy on webpack-dev-server has a broad context (e.g. /) and ws: true, it also intercepts the dev server's own HMR WebSocket and forwards it to the proxy target. This leaks the browser's cookies and Origin hea
How urgent is CVE-2026-9595?
Priority 25/100. Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-14620 MEDIUM 4.7 UPGRADE webpack-dev-server versions 5.2.5 and earlier expose two internal developer endpoints, /webpack-dev-server/ope
- CVE-2026-14631 MEDIUM 5.3 UPGRADE webpack-dev-server versions 5.2.5 and earlier terminate the whole Node.js process when an unauthenticated peer