Skip to main content
Public proof of conceptFix available

CVE-2025-30360

A public proof of concept exists; no exploitation attested.

  • Published2025-06-03
  • Fixed in5.2.1
  • WeaknessCWE-346

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-06-0318:15CVE publishedNVD

Versions per branch

NVD · OSV
Webpack.js webpack-dev-server
BranchAffectedFixed in
5.2< 5.2.15.2.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • webpack-dev-server
    Affected
    • = < 5.2.1no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-06-03

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/webpack-dev-serverRoot:npmall versions · fixed in 4.10.0-root.io.1
  • @rootio/webpack-dev-serverRoot:npmall versions · fixed in 3.11.3-root.io.2
  • @rootio/webpack-dev-serverRoot:npmall versions · fixed in 3.11.3-root.io.3
  • @rootio/webpack-dev-serverRoot:npmall versions · fixed in 3.11.3-root.io.4
  • @rootio/webpack-dev-serverRoot:npmall versions · fixed in 4.10.0-root.io.2
  • @rootio/webpack-dev-serverRoot:npmall versions · fixed in 4.10.0-root.io.3
  • @rootio/webpack-dev-serverRoot:npmall versions · fixed in 5.0.4-root.io.1
  • @rootio/webpack-dev-serverRoot:npmall versions · fixed in 5.0.4-root.io.2

49 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-30360 Red Hat Product Security89 known affected

    webpack-dev-server: webpack-dev-server information exposure

    io.cryostat-cryostat as a component of Cryostat 4 · mtv-candidate/mtv-console-plugin-rhel9 as a component of Migration Toolkit for Virtualization · network-observability/network-observability-console-plugin-rhel9 as a component of Network Observability Operator · +86 more

Full record on NVD

Fix

  1. Update Webpack.js webpack-dev-server to 5.2.1
  2. Workaround from the vendor Red Hat Product Security CVE-2025-30360 · 89 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
  3. No fix available, says the vendor Red Hat Product Security CVE-2025-30360 · 89 productsFix deferred

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2025-06-03
  • CNACVSS 3.16.5known since 2026-10-23
  • NVDCVSS 3.16.5read 2026-10-23
  • CNAweakness (CWE)CWE-346known since 2026-10-23
  • FIRST EPSSEPSS score0.4 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2025-06-04

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Published
2025-06-03
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-9jgg-88mc-972h

Frequently asked questions

What is CVE-2025-30360?

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.

Is CVE-2025-30360 actively exploited?

A proof-of-concept exploit exists for CVE-2025-30360, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-30360?

CVE-2025-30360 has a CVSS v3 base score of 6.5 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.

Running webpack-dev-server? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record