CVE-2026-9595: webpack-dev-server vulnerable to HMR WebSocket interception via permissive user proxies
Vulnerability summary
CVE-2026-9595 is a medium (CVSS 5.3) Origin Validation Error vulnerability in webpack-dev-server. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.6% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 15-06-2026PublishedVulnerability first disclosed.
- 15-06-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LDiffers
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.16% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-346Origin Validation ErrorThe product does not properly verify that the source of data or communication is valid.
- CWE-441Unintended Proxy or IntermediaryThe product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard39 products
- arangodb-3.11< 3.11.14.5-r25
- arangodb-3.12< 3.12.11-r0
- argo-workflows-ui-3.6< 3.6.19-r7
- argo-workflows-ui-3.7< 3.7.15-r1
- argo-workflows-ui-4.0< 4.0.6-r1 | < 4.0.11-r0
Wolfi12 products
- argo-workflows-ui-3.7< 3.7.15-r1
- argo-workflows-ui-4.0< 4.0.6-r1 | < 4.0.11-r0
- katib-earlystopping< 0.19.0-r31
- katib-suggestion-goptuna-compatAll versions (No fix recorded) | < 0.19.0-r40
- katib-suggestion-hyperband< 0.19.0-r31
Ubuntu2 products
- node-webpackAll versions (No fix recorded)
- vue.jsAll versions (No fix recorded)
Npm1 product
- webpack-dev-server< 5.2.5
Webpack-dev-server1 product
- webpack-dev-server< 5.2.5
Webpack.js1 product
- webpack-dev-server< 5.2.5
6 vendors · 56 products
References
10 links- github.com/webpack/webpack-dev-server/security/advisories/GHSA-mx8g-39q3-5c79REPORTAdvisoryWEBMitigationVendor Advisory