GHSA-79cf-xcqc-c78w · Severity: medium · Ecosystem: npm — webpack-dev-server vulnerable to cross-origin source code exposure on non-HTTPS origins
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.
Conclusion & alert: CVE-2026-6402 is rated Low Risk (24.3/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.03%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-12 | — | 0.03% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
1.6 | 3.6 | ce714d77-add3-4f53-aff5-83d477b104bb |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
GHSA-79cf-xcqc-c78w · Severity: medium · Ecosystem: npm — webpack-dev-server vulnerable to cross-origin source code exposure on non-HTTPS origins
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-6402 |
suse
|
medium | CVE-2026-6402 severity moderate: SUSE including 40 source package names (cockpit, cockpit-bridge, …), 166 product×package rows across 19 product lines (SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, … (19 product lines)): Known Not Affected 166. | https://www.suse.com/security/cve/CVE-2026-6402/ |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| webpack.js | webpack-dev-server | < 5.2.4 | cpe:2.3:a:webpack.js:webpack-dev-server:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://cna.openjsf.org/security-advisories.html | Vendor Advisory |
| https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-79cf-xcqc-c78w | Mitigation Vendor Advisory |