Origin validation error in webpack-dev-server - CVE-2025-30360

 

Origin validation error in webpack-dev-server - CVE-2025-30360

Published: July 3, 2025


Vulnerability identifier: #VU112134
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-30360
CWE-ID: CWE-346
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: webpack
Affected software:
webpack-dev-server

Detailed vulnerability description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to incorrect Origin validation in webpack-dev-server/lib/Server.js. A remote attacker can trick the application into connecting to a malicious website with a non-Chromium browser and and share its source code with it, a.k.a. cross-site WebSocket hijacking.


How to mitigate CVE-2025-30360

Install updates from vendor's website.

Sources