webpack-dev-server allows users to use webpack with a development server that provides live reloading. Prior…
Historical advisory recorded 25 Oct 2026 02:24:48 UTC. Read the latest advisory.
nvd · CVE-2025-30360
Publishedwebpack-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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2025-30360
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-346
Original publisher date fields
published: 2025-06-03T18:15:25.410
lastModified: 2026-06-17T09:08:34.903
1 source CPE criteria · context only
- cpe:2.3:a:webpack.js:webpack-dev-server:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON