Missing Origin Validation in WebSockets in webpack-dev-server - CVE-2026-112085
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to read from and write to a backend proxied through webpack-dev-server.
The vulnerability exists due to missing Host and Origin validation for WebSocket upgrade requests when a devServer.proxy entry has ws set to true. An unauthenticated remote attacker can lure a developer into visiting a malicious page that opens a cross-origin WebSocket through the dev server to the backend, even when the server is bound to loopback.