CVE-2025-30359
webpack-dev-server: webpack-dev-server information exposure
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 4, 2025
Updated · October 27, 2026
Description
An information exposure flaw has been discovered in webpack-dev-server. The request for classic script by a script tag is not subject to the same origin policy, allowing an attacker to inject a malicious script in their site and run the script. The attacker is required to know the port and the output entrypoint script path in order to successfully exploit this vulnerability, but successful exploitation can result in the source code being stolen for users that use a predictable port and output path for the entrypoint script.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 5.3CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
CWE-749 · Exposed Dangerous Method or Function