GHSA-4v9v-hfq4-rm2v · Severity: medium · Ecosystem: npm — webpack-dev-server users' source code may be stolen when they access a malicious web site
webpack-dev-server allows users to use webpack with a development server that provides live reloading. Prior to version 5.2.1, webpack-dev-server users' source code may be stolen when they access a malicious web site. Because the request for classic script by a script tag is not subject to same origin policy, an attacker can inject a malicious script in their site and run the script. Note that the attacker has to know the port and the output entrypoint script path. Combined with prototype pollution, the attacker can get a reference to the webpack runtime variables. By using `Function::toString` against the values in `__webpack_modules__`, the attacker can get the source code. Version 5.2.1 contains a patch for the issue.
Conclusion & alert: CVE-2025-30359 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.11%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
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-22 | 0.39% | 0.11% | -0.28% |
| 2 | 2026-03-30 | 0.15% | 0.39% | +0.23% |
| 3 | 2026-03-10 | — | 0.15% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
1.6 | 3.6 | [email protected] |
| 5.9 | 3.1 | MEDIUM |
|
2.2 | 3.6 | [email protected] |
GHSA-4v9v-hfq4-rm2v · Severity: medium · Ecosystem: npm — webpack-dev-server users' source code may be stolen when they access a malicious web site
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-30359 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| webpack.js | webpack-dev-server | < 5.2.1 | cpe:2.3:a:webpack.js:webpack-dev-server:*:*:*:*:*:*:*:* |