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

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

Affected products (1)

More vulnerabilities in Webpack.js Webpack-dev-server

All CVEs affecting Webpack.js Webpack-dev-server →

Other CWE-346 vulnerabilities

Browse all CWE-346 vulnerabilities →