CVE-2025-30360 json
webpack-dev-server users' source code may be stolen when they access a malicious web site with non-Chromium based browser
published 2025-06-03 17 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-16764 , GHSA-9jgg-88mc-972h
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm webpack-dev-server 5.2.1
- webpack.js webpack-dev-server 5.2.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-30360 updated cvss 6.5
webpack-dev-server: webpack-dev-server information exposure
-
Red Hat Cryostat 4 io.cryostat-cryostat Red Hat Migration Toolkit for Virtualization mtv-candidate/mtv-console-plugin-rhel9 Red Hat Network Observability Operator network-observability/network-observability-console-plugin-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed-tech-preview/lightspeed-console-plugin-rhel9 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-ui-rhel9, openshift-pipelines/pipelines-hub-api-rhel8, openshift-pipelines/pipelines-hub-api-rhel9, openshift-pipelines/pipelines-console-plugin-rhel8, openshift-pipelines/pipelines-console-plugin-rhel9, +2 more Red Hat OpenShift Serverless openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8affected: workaround, no fix available “Fix deferred”
+19 more productsfewer
Red Hat OpenShift Service Mesh 3 openshift-service-mesh/kiali-rhel9, openshift-service-mesh/kiali-ossmc-rhel9, openshift-service-mesh/kiali-rhel9-operator, openshift-service-mesh/kiali-operator-bundle Red Hat Ansible Automation Platform 2 automation-gateway, automation-controller, automation-eda-controller, ansible-automation-platform-24/lightspeed-rhel8, ansible-automation-platform-25/lightspeed-rhel8 Red Hat build of Apache Camel - HawtIO 4 io.hawt-project Red Hat build of Apicurio Registry 2 io.apicurio-apicurio-registry Red Hat build of OptaPlanner 8 org.optaweb.vehiclerouting-optaweb-vehicle-routing Red Hat Certification for Red Hat Enterprise Linux 7 redhat-certification Red Hat Data Grid 8 org.infinispan-infinispan-console Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9, rhdh/rhdh-rhel9-operator Red Hat Discovery 1 discovery/discovery-ui-rhel9 Red Hat Enterprise Linux 8 pcs, grafana, pcs-snmp, grafana-loki, grafana-mssql, grafana-mysql, +11 more Red Hat Enterprise Linux 9 pcs, grafana, pcs-snmp, grafana-selinux, js-d3-flame-graph Red Hat Enterprise Linux 10 pcs, grafana, js-d3-flame-graph Red Hat Fuse 7 io.apicurio-apicurito, io.syndesis-syndesis-parent Red Hat Integration Camel K 1 io.apicurio-apicurio-registry Red Hat OpenShift AI (RHOAI) rhoai/odh-rhel8-operator, rhods/odh-rhel8-operator, rhoai/odh-dashboard-rhel8, rhods/odh-dashboard-rhel8, rhoai/odh-data-science-pipelines-argo-argoexec-rhel8, rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8 Red Hat OpenShift distributed tracing 3 rhosdt/tempo-rhel8, rhosdt/jaeger-agent-rhel8, rhosdt/jaeger-query-rhel8, rhosdt/jaeger-ingester-rhel8, rhosdt/jaeger-rhel8-operator, rhosdt/tempo-operator-bundle, +7 more Red Hat Process Automation 7 org.uberfire-uberfire-parent Red Hat Quay 3 quay/quay-rhel8 Red Hat Trusted Profile Analyzer rhtpa/rhtpa-trustification-service-rhel9
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.36% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-9jgg-88mc-972h referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | webpack-dev-server | <5.2.1 |
5.2.1 |
Affected products
- webpack webpack-dev-server
Classification
- Weakness
-
- CWE-346 Origin Validation Error
References
-
github.com
/webpack/webpack-dev-server/commit/5c9378bb01276357d7af208a0856ca2163db188e
web, patch
-
github.com
/webpack/webpack-dev-server/commit/72efaab83381a0e1c4914adf401cbd210b7de7eb
web, patch
-
github.com
/webpack/webpack-dev-server/commit/d2575ad8dfed9207ed810b5ea0ccf465115a2239
web
-
github.com
/webpack/webpack-dev-server/security/advisories/GHSA-9jgg-88mc-972h
web, exploit, vendor-advisory
-
github.com
/webpack/webpack-dev-server/blob/55220a800ba4e30dbde2d98785ecf4c80b32f711/lib/Server.js#L3113-L3127
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2025-30360
advisory
-
github.com
/webpack/webpack-dev-server
package
Sources
- CVE List CVE-2025-30360
- GitHub Advisory GHSA-9jgg-88mc-972h
- NVD CVE-2025-30360
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.