CVE-2026-6402: webpack-dev-server · Exposed Dangerous Method or Function
Affects webpack-dev-serverSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium · fixed in 5.2.4 : update webpack-dev-server when convenient.
Data as of 11 Nov 2026, 23:18 UTC
Thin evidence
One scorer or none| CNA (openjs) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 5.2.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 12 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 11 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| webpack-dev-server webpack-dev-server | Affected
| Fixed in– |
AI-suggested
Upgrade webpack-dev-server to version 5.2.4 or later, which addresses the vulnerability by setting the Cross-Origin-Resource-Policy header to same-origin on responses. This fix prevents cross-origin source code exposure when serving over HTTP. No other mitigation is indicated.
Description
webpack-dev-server versions up to and including 5.2.3 have a vulnerability that allows cross-origin source code exposure when served over HTTP. This occurs because the previous mitigation relied on request headers that browsers omit for non-trustworthy origins, enabling a malicious site to read bundled source code across origins. Chromium-based browsers from Chrome 142 onward are not affected due to local network access restrictions. Upgrading to version 5.2.4 or later mitigates this issue by setting a strict Cross-Origin-Resource-Policy header.