Impact: When a user-configured proxy on webpack-dev-server has a broad context (e.g. /) and ws: true, it also…
Historical advisory recorded 25 Oct 2026 16:19:28 UTC. Read the latest advisory.
nvd · CVE-2026-9595
PublishedImpact: 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 [email protected]. Workarounds: Scope user-defined proxy context to specific paths instead of /, or omit ws: true from the proxy entry when WebSocket forwarding is not required.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-9595
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-346 · CWE-441
Original publisher date fields
published: 2026-06-15T16:16:35.227
lastModified: 2026-06-17T11:05:31.643
1 source CPE criteria · context only
- cpe:2.3:a:webpack.js:webpack-dev-server:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON