← console
voxell vciy

CVE-2026-6402: webpack-dev-server vulnerable to cross-origin source code exposure on non-HTTPS origins

ROUTINE

Telemetry drift only. No threshold crossed and no authority ruling changed.

CVE record, CISA KEV and EPSS as of 2026-12-06.

CVEs like this one computed, by meaning

What to do now held facts and links

  1. Upgrade to 5.2.4 or later CVE record
  2. Later advisories still cover the fixes above and name higher ones: webpack-dev-server 5.2.5 (CVE-2026-9595), 5.2.6 (CVE-2026-14620), 5.2.6 (CVE-2026-14631) OSV advisories
  3. Record your decision, dated and frozen with today's evidence: patch by a date · mitigated by a compensating control · deferred · accepted the risk · not affected
  4. Check your version against the ranges this record publishes.

What it is stated by the CNA

webpack-dev-server versions up to and including 5.2.3 are vulnerable to cross-origin source code exposure when serving over a non-potentially trustworthy origin such as plain HTTP. The previous fix relied on the Sec-Fetch-Mode and Sec-Fetch-Site request headers, which browsers omit for non-trustworthy origins, allowing a malicious site to load the bundled source as a script and read it across origins. Impact: an attacker controlling a website visited by a developer running webpack-dev-server can recover the application source code when the dev server runs over HTTP at a guessable host and port. Chromium based browsers from Chrome 142 onward are not affected due to local network access restrictions. Upgrade to webpack-dev-server 5.2.4 or later, which sets Cross-Origin-Resource-Policy: same-origin on responses.

weakness
CWE-749: Exposed Dangerous Method or Function
affected
webpack-dev-server
published ranges
webpack.js webpack-dev-server < 5.2.4
fixed in
5.2.4
fixed by package (from OSV advisories)
webpack-dev-server (npm): 5.2.4 GHSA-79cf-xcqc-c78w
later fixes (from OSV advisories)
webpack-dev-server 5.2.4 is inside a range CVE-2026-14620 (GHSA-f5vj-f2hx-8m93) lists as affected. That advisory is fixed in 5.2.6.webpack-dev-server 5.2.4 is inside a range CVE-2026-14631 (GHSA-m28w-2pqf-7qgj) lists as affected. That advisory is fixed in 5.2.6.webpack-dev-server 5.2.4 is inside a range CVE-2026-9595 (GHSA-mx8g-39q3-5c79) lists as affected. That advisory is fixed in 5.2.5.
severity
5.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
assigned by
openjs
published
2026-05-12

check us github.com cna.openjsf.org

Exploit code held, dated

exploit code
None held in the PoC-in-GitHub feed. A public repository changes this brief.

What moved held, dated

dateEPSSevent
12 May 20260.00031
18 May 20260.00033
19 May 20260.00032
13 Jun 20260.00035
15 Jun 20260.00216scoring model v2026.06.15
28 Aug 20260.00291
28 Sep 20260.00352
25 Oct 20260.00291
28 Nov 20260.00352
1 Dec 20260.00291

10 observations held. A step marked with a scoring model moved because the measurement was replaced, not because the vulnerability changed.

Outside the record model-written, researched, cited

This section reads the record's references and adds cited findings from outside it. It needs an account. Everything above is held facts and is complete without it.

Get started with CVE-2026-6402 (20s setup) Triage in Vesper (no login) · Sign in to add the researched section

What would change this brief held, dated

CISA KEV
Not listed in the catalogue we hold. A listing changes this brief.
exploit probability
0.00 on 2026-12-01 (FIRST's EPSS, a probability and not evidence of exploitation). Next band line: 10% (0.10). Crossing a line changes this brief.
fix
Held: 5.2.4. A newer fix from the CNA or OSV changes this brief.

Watch this CVE Guided 20s setup · What counts as a move

How to check this

Every value above is held with two dates: when it was true upstream (as_of) and when we recorded it (tx_from). Re-derive the exploit probability as it stood on any date:

SELECT value, source, source_version, as_of, tx_from
FROM volatile_valid_as_of('CVE-2026-6402', '2026-12-06T23:59:59.999999Z', now());