
Cloud Vulnerability DB
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
webpack-dev-server, prior to version 5.2.1, contains a security vulnerability (CVE-2025-30359) that could allow attackers to steal source code when users access a malicious website. The vulnerability was discovered and disclosed on June 3, 2025, affecting all versions up to and including 5.2.0 (GitHub Advisory).
The vulnerability stems from the way webpack-dev-server handles script requests. Because requests for classic scripts via script tags are not subject to same-origin policy, attackers can inject and execute scripts from their malicious sites. When combined with prototype pollution, attackers can gain access to webpack runtime variables. Using Function::toString against values in webpack_modules, they can extract the source code. The vulnerability has been assigned a CVSS v3.1 score of 5.3 (Medium) with a vector string of CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N, indicating network attack vector with high complexity, no privileges required, and user interaction required (GitHub Advisory).
The vulnerability can result in source code theft for users who utilize predictable ports and output paths for their entrypoint scripts. This exposure could lead to intellectual property theft and potentially reveal sensitive implementation details or security measures within the source code (GitHub Advisory).
The vulnerability has been patched in webpack-dev-server version 5.2.1. Users are strongly advised to upgrade to this version or later to protect against potential source code theft. The fix includes changes to how the server handles requests with IP addresses in Origin headers (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A comprehensive threat intelligence database of cloud security incidents, actors, tools and techniques
A step-by-step framework for modeling and improving SaaS and PaaS tenant isolation
Get a personalized demo
“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
“We know that if Wiz identifies something as critical, it actually is.”