CVE-2025-30360: webpack webpack-dev-server Origin Validation Error
Vulnerability summary
CVE-2025-30360 is a medium (CVSS 6.5) Origin Validation Error vulnerability in webpack webpack-dev-server. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 26.3% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 03-06-2025PublishedVulnerability first disclosed.
- 03-06-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · NpmEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
0.00 pp
From 0.34% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundWebpack Dev Server
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard38 products
- arangodb-3.11< 3.11.14.5-r25
- arangodb-3.12< 3.12.11-r0
- argo-workflows< 3.6.10-r2
- argo-workflows-ui-3.7< 3.7.13-r2
- gitlab-rails-ce-18.1All versions (No fix recorded)
Wolfi12 products
- argo-workflows< 3.6.10-r2
- argo-workflows-ui-3.7< 3.7.13-r2
- katib-earlystopping< 0.19.0-r31
- katib-suggestion-goptuna-compatAll versions (No fix recorded)
- katib-suggestion-hyperband< 0.19.0-r31
Npm1 product
- webpack-dev-server< 5.2.1
Webpack1 product
- webpack-dev-server< 5.2.1
Webpack.js1 product
- webpack-dev-server< 5.2.1
5 vendors · 53 products
References
8 links- github.com/webpack/webpack-dev-server/security/advisories/GHSA-9jgg-88mc-972hX Refsource CONFIRMAdvisoryWEBExploitVendor Advisory
- github.com/webpack/webpack-dev-server/commit/5c9378bb01276357d7af208a0856ca2163db188eX Refsource MISCFIXWEBPatch
- github.com/webpack/webpack-dev-server/commit/72efaab83381a0e1c4914adf401cbd210b7de7ebX Refsource MISCFIXWEBPatch
- github.com/webpack/webpack-dev-server/blob/55220a800ba4e30dbde2d98785ecf4c80b32f711/lib/Server.jsX Refsource MISCWEBProduct