Approved changes feed: RSS · Atom

cpe:2.3:a:webpack.js:webpack-dev-server:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorWebpack.Js (d4e504ae-a5fa-563b-b2c0-1a1cd26793af)
ProductWebpack Dev Server (33364484-751b-573a-a56f-715f62b4e1de)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/webpack/webpack-dev-server purl2cpe 2026-06-01 10:16:56.644055
pkg:maven/org.webjars.npm/webpack-dev-server purl2cpe 2026-06-01 10:16:56.644059
pkg:npm/webpack-dev-server purl2cpe 2026-06-01 10:16:56.644062

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-6402 vulnerable 2026-06-08 08:07:04.750440 webpack-dev-server vulnerable to cross-origin source code exposure on non-HTTPS origins
MEDIUM (5.3)
webpack-dev-server versions up to and including 5.2.3 are vulnerable to cross-origin source code exposure when serving over a non-potentially trustworthy origin such as plain HTTP. The previous fix relied on the Sec-Fetch-Mode and Sec-Fetch-Site request headers, which browsers omit for non-trustworthy origins, allowing a malicious site to load the bundled source as a script and read it across origins. Impact: an attacker controlling a website visited by a developer running webpack-dev-server can recover the application source code when the dev server runs over HTTP at a guessable host and port. Chromium based browsers from Chrome 142 onward are not affected due to local network access restrictions. Upgrade to webpack-dev-server 5.2.4 or later, which sets Cross-Origin-Resource-Policy: same-origin on responses.
Published: 2026-05-12T07:45:21.253Z
Updated: 2026-05-12T13:00:06.847Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-30360 vulnerable 2026-06-08 07:16:59.919424 webpack-dev-server users' source code may be stolen when they access a malicious web site with non-Chromium based browser
MEDIUM (6.5)
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.
Published: 2025-06-03T17:41:59.457Z
Updated: 2025-06-03T17:58:12.605Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-30359 vulnerable 2026-06-08 07:16:59.918914 webpack-dev-server users' source code may be stolen when they access a malicious web site
MEDIUM (5.3)
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 they access a malicious web site. Because the request for classic script by a script tag is not subject to same origin policy, an attacker can inject a malicious script in their site and run the script. Note that the attacker has to know the port and the output entrypoint script path. Combined with prototype pollution, the attacker can get a reference to the webpack runtime variables. By using `Function::toString` against the values in `__webpack_modules__`, the attacker can get the source code. Version 5.2.1 contains a patch for the issue.
Published: 2025-06-03T17:39:16.531Z
Updated: 2025-06-03T17:50:03.130Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-14732 vulnerable 2026-06-08 05:10:53.397331 Details available
An issue was discovered in lib/Server.js in webpack-dev-server before 3.1.6. Attackers are able to steal developer's code because the origin of requests is not checked by the WebSocket server, which is used for HMR (Hot Module Replacement). Anyone can receive the HMR message sent by the WebSocket server via a ws://127.0.0.1:8080/ connection from any origin.
Published: 2018-09-21T17:00:00.000Z
Updated: 2024-08-05T09:38:13.243Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.