Skip to main content
VulnerabilityPublished

CVE-2026-6402: webpack-dev-server · Exposed Dangerous Method or Function

Affects webpack-dev-serverSource GCVE Database

0
Compare

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

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (openjs)CVSS 3.15.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
webpack-dev-server webpack-dev-serverAffected
  • =0
  • <=5.2.3
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.

References

Community reviews

Loading reviews…