Origin validation error in webpack-dev-server - CVE-2026-9595
Published: June 16, 2026
webpack-dev-server
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to an origin validation error in the HMR WebSocket handling when processing WebSocket connections through a user-configured proxy with a broad context and WebSocket forwarding enabled. A remote attacker can cause the dev server's HMR WebSocket to be intercepted and forwarded to the proxy target to cause a denial of service.
The issue can leak the browser's cookies and Origin header to the backend and bypass the dev server's Host and Origin validation.