Cross-Site WebSocket Hijacking in Webpack Dev Server
CVE-2025-30360
What is CVE-2025-30360?
The webpack-dev-server is vulnerable to an attack that allows attackers to exploit improper handling of IP address Origin headers. Prior to version 5.2.1, accessing a malicious site with a non-Chromium browser could permit attackers to connect WebSocket, potentially allowing them to steal source code from users. This vulnerability arises because the Origin header checks, meant to safeguard against Cross-site WebSocket hijacking, inadequately restrict connections from IP addresses, thereby exposing sensitive code. Users are advised to upgrade to version 5.2.1 or above to mitigate this risk.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
webpack-dev-server < 5.2.1
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
