CVE Explorer
CVE-2026-9595
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 webpack-dev-server@5.2.5.
Workarounds: Scope user-defined proxy context to specifi
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-441","description":"CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b57cd30d96b9dc32c5f8f352e2ca2125a15897a3dff765277d197f27000ea13f · sha256:7bd537255538b45c… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-346","description":"CWE-346: Origin Validation Error","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b57cd30d96b9dc32c5f8f352e2ca2125a15897a3dff765277d197f27000ea13f · sha256:7bd537255538b45c… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","packageURL":"pkg:npm/webpack-dev-server","product":"webpack-dev-server","vendor":"webpack-dev-server","versions":[{"lessThan":"5.2.5","status":"affected","version":"0","versionType":"semver"},{"status":"unaffected","version":"5.2.5","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:b57cd30d96b9dc32c5f8f352e2ca2125a15897a3dff765277d197f27000ea13f · sha256:7bd537255538b45c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b57cd30d96b9dc32c5f8f352e2ca2125a15897a3dff765277d197f27000ea13f · sha256:7bd537255538b45c… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-441","description":"CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b57cd30d96b9dc32c5f8f352e2ca2125a15897a3dff765277d197f27000ea13f · sha256:7bd537255538b45c… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-346","description":"CWE-346: Origin Validation Error","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b57cd30d96b9dc32c5f8f352e2ca2125a15897a3dff765277d197f27000ea13f · sha256:7bd537255538b45c… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"url":"https://cna.openjsf.org/security-advisories.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b57cd30d96b9dc32c5f8f352e2ca2125a15897a3dff765277d197f27000ea13f · sha256:7bd537255538b45c… · /containers/cna/references/1
{"url":"https://github.com/facebook/create-react-app/pull/7444"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b57cd30d96b9dc32c5f8f352e2ca2125a15897a3dff765277d197f27000ea13f · sha256:7bd537255538b45c… · /containers/cna/references/4
{"url":"https://github.com/vuejs/vue-cli/commit/72ba7505aff2a8314e82aa5082379a77504a1fcb"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b57cd30d96b9dc32c5f8f352e2ca2125a15897a3dff765277d197f27000ea13f · sha256:7bd537255538b45c… · /containers/cna/references/3
{"url":"https://github.com/webpack/webpack-dev-server/pull/4316"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b57cd30d96b9dc32c5f8f352e2ca2125a15897a3dff765277d197f27000ea13f · sha256:7bd537255538b45c… · /containers/cna/references/2
{"url":"https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-mx8g-39q3-5c79"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b57cd30d96b9dc32c5f8f352e2ca2125a15897a3dff765277d197f27000ea13f · sha256:7bd537255538b45c… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.