cvedb.io
CVE-2026-9595
MEDIUM · CVSS 5.3
EPSS exploitation probability: 0%
Published 2026-06-15T16:16:35.227 · Last modified 2026-06-17T11:05:31.643

Summary

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 [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.

Affected products

webpack.js — webpack-dev-server

Does this affect you?

Add your gear to cvedb and we'll alert you only when webpack.js ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.