{"id":"GHSA-mx8g-39q3-5c79","revision":"f38eeab86eb041b8b2bcc081223c53c5","records":[{"revision":"f38eeab86eb041b8b2bcc081223c53c5","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-mx8g-39q3-5c79","aliases":["CVE-2026-9595"],"title":"webpack-dev-server vulnerable to HMR WebSocket interception via permissive user proxies","description":"### Impact\n\nWhen 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).\n\n### Patches\n\nFixed in `webpack-dev-server` 5.2.5.\n\n### Workarounds\n\nScope user-defined proxy `context` to specific paths instead of `/`, or omit `ws: true` from the proxy entry when WebSocket forwarding is not required.","state":0,"publishedAt":"2026-06-17T18:13:31+00:00","modifiedAt":"2026-09-10T03:51:09.1365587+00:00","affected":[{"ecosystem":"npm","name":"webpack-dev-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"5.2.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-mx8g-39q3-5c79","https://nvd.nist.gov/vuln/detail/CVE-2026-9595","https://github.com/facebook/create-react-app/pull/7444","https://github.com/webpack/webpack-dev-server/pull/4316","https://github.com/vuejs/vue-cli/commit/72ba7505aff2a8314e82aa5082379a77504a1fcb","https://cna.openjsf.org/security-advisories.html","https://github.com/webpack/webpack-dev-server"],"sourceUrl":"https://github.com/advisories/GHSA-mx8g-39q3-5c79","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-mx8g-39q3-5c79","identifiers":["GHSA-mx8g-39q3-5c79","CVE-2026-9595"]},"retained":false,"historicalAffected":[]}],"coverage":[]}