CVE-2025-30359
MEDIUMDescription
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.
Is your site exposed to CVE-2025-30359?
Run a free security scan — no signup, results in seconds.
CVSS v3.1 Score
Weakness Type (CWE)
Affected Products
| Vendor | Product |
|---|---|
| webpack.js | webpack-dev-server |
References
Frequently Asked Questions
What is CVE-2025-30359? +
How severe is CVE-2025-30359? +
What products are affected by CVE-2025-30359? +
How do I check if I'm vulnerable to CVE-2025-30359? +
Related Vulnerabilities
A client-side security misconfiguration vulnerability exists in OpenBlow whistleblowing platform across multiple versions and default deployments, due to the absence …
The Electron preload script in Logseq exposes an API method that allows the renderer process to invoke IPC handlers without …
Voltronic Power ViewPower through 1.04-24215, ViewPower Pro through 2.0-22165, and PowerShield Netguard before 1.04-23292 allows a remote attacker to run …
A missing authentication for critical function vulnerability has been reported to affect myQNAPcloud Link. If exploited, the vulnerability could allow …
Appsmith is a platform to build admin panels, internal tools, and dashboards. Prior to 2.1, the bundled Caddy reverse-proxy's admin …
An issue was discovered in MISP before 2.4.184. A client does not need to use POST to start an export …