Back to CVE records
Medium 5.3Published Jun 15, 2026

CVE-2026-9595webpack-dev-server vulnerable to HMR WebSocket interception via permissive user proxies

Updated under an hour ago ()

Does this affect you?

It affects webpack-dev-server and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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 specific paths instead of /, or omit ws: true from the proxy entry when WebSocket forwarding is not required.

CVSS
5.3 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness (CWE)
CWE-346, CWE-441
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
openjs
NVD analysis
Analyzed
Record last updated
Jun 15, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
webpack-dev-server webpack-dev-server
webpack_dev_server:webpack_dev_server (from the name)
before 5.2.5; 5.2.5 not affected
CNA record
webpack.js webpack-dev-server
webpack.js:webpack-dev-server
before 5.2.5
NVD

References

  • mitigation, vendor-advisory
  • vendor-advisory
  • issue-tracking, patch
  • patch
  • issue-tracking, patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.