CVE-2025-30360
CVE-2025-30360 is a medium-severity vulnerability in Webpack.js Webpack-dev-server with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-346.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 0% (21st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-16764
- Weakness: CWE-346
- Affected product: Webpack.js Webpack-dev-server
- Published:
- Last modified:
Description
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 you access a malicious web site with non-Chromium based browser. The `Origin` header is checked to prevent Cross-site WebSocket hijacking from happening, which was reported by CVE-2018-14732. But webpack-dev-server always allows IP address `Origin` headers. This allows websites that are served on IP addresses to connect WebSocket. An attacker can obtain source code via a method similar to that used to exploit CVE-2018-14732. Version 5.2.1 contains a patch for the issue.
Frequently asked questions
- What is CVE-2025-30360?
- 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 you access a malicious web site with non-Chromium based browser. The `Origin` header is checked to prevent Cross-site WebSocket hijacking from happening, which was reported by CVE-2018-14732. But webpack-dev-server always allows IP address `Origin` headers. This allows websites that are served on IP addresses to connect WebSocket. An attacker can obtain source code via a method similar to that used to exploit CVE-2018-14732. Version 5.2.1 contains a patch for the issue.
- How severe is CVE-2025-30360?
- CVE-2025-30360 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2025-30360 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (21st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-30360?
- CVE-2025-30360 affects Webpack.js Webpack-dev-server. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-30360?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-30360 have an EU (EUVD) identifier?
- Yes. CVE-2025-30360 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-16764.
- When was CVE-2025-30360 published?
- CVE-2025-30360 was published on 2025-06-03 and last updated on 2026-06-17.
References
- https://github.com/webpack/webpack-dev-server/blob/55220a800ba4e30dbde2d98785ecf4c80b32f711/lib/Server.js#L3113-L3127
- https://github.com/webpack/webpack-dev-server/commit/5c9378bb01276357d7af208a0856ca2163db188e
- https://github.com/webpack/webpack-dev-server/commit/72efaab83381a0e1c4914adf401cbd210b7de7eb
- https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-9jgg-88mc-972h
Affected products (1)
- cpe:2.3:a:webpack.js:webpack-dev-server:*:*:*:*:*:*:*:*
More vulnerabilities in Webpack.js Webpack-dev-server
- CVE-2018-14732 — High (CVSS 7.5): An issue was discovered in lib/Server.js in webpack-dev-server before 3.1.6. Attackers are able to steal developer's…
- CVE-2026-14631 — Medium (CVSS 5.3): webpack-dev-server versions 5.2.5 and earlier terminate the whole Node.js process when an unauthenticated peer sends…
- CVE-2026-9595 — Medium (CVSS 5.3): Impact: When a user-configured proxy on webpack-dev-server has a broad context (e.g. /) and ws: true, it also…
- CVE-2026-6402 — Medium (CVSS 5.3): webpack-dev-server versions up to and including 5.2.3 are vulnerable to cross-origin source code exposure when serving…
- CVE-2025-30359 — Medium (CVSS 5.3): webpack-dev-server allows users to use webpack with a development server that provides live reloading. Prior to version…
- CVE-2026-14620 — Medium (CVSS 4.7): webpack-dev-server versions 5.2.5 and earlier expose two internal developer endpoints, /webpack-dev-server/open-editor…
All CVEs affecting Webpack.js Webpack-dev-server →
Other CWE-346 vulnerabilities
- CVE-2026-42901 — Critical (CVSS 10.0): Origin validation error in Microsoft Entra ID allows an unauthorized attacker to elevate privileges over a network.
- CVE-2026-6508 — Critical (CVSS 9.8): Origin Validation Error vulnerability in TUBITAK BILGEM Software Technologies Research Institute Liderahenk allows…
- CVE-2026-2790 — Critical (CVSS 9.8): Same-origin policy bypass in the Networking: JAR component. This vulnerability was fixed in Firefox 148, Firefox ESR…
- CVE-2022-50925 — Critical (CVSS 9.8): Prowise Reflect version 1.0.9 contains a remote keystroke injection vulnerability that allows attackers to send…
- CVE-2025-30466 — Critical (CVSS 9.8): This issue was addressed through improved state management. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS…
- CVE-2024-8487 — Critical (CVSS 9.8): A Cross-Origin Resource Sharing (CORS) vulnerability exists in modelscope/agentscope version v0.0.4. The CORS…