DOM Clobbering Gadget found in Webpack's AutoPublicPathRuntimeModule that leads to Cross-site Scripting (XSS)
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · High
- Fix status
- Partial Red Hat: 13 fixed, 30 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset. The webpack developers have discovered a DOM Clobbering vulnerability in Webpack’s `AutoPublicPathRuntimeModule`. The DOM Clobbering gadget in the module can lead to cross-site scripting (XSS) in web pages where scriptless attacker-controlled HTML elements (e.g., an `img` tag with an unsanitized `name` attribute) are present. Real-world exploitation of this gadget has been observed in the Canvas LMS which allows a XSS attack to happen through a javascript code compiled by Webpack (the vulnerable part is from Webpack). DOM Clobbering is a type of code-reuse attack where the attacker first embeds a piece of non-script, seemingly benign HTML markups in the webpage (e.g. through a post or comment) and leverages the gadgets (pieces of js code) living in the existing javascript code to transform it into executable code. This vulnerability can lead to cross-site scripting (XSS) on websites that include Webpack-generated files and allow users to inject certain scriptless HTML tags with improperly sanitized name or id attributes. This issue has been addressed in release version 5.94.0. All users are advised to upgrade. There are no known workarounds for this issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| webpack | webpack | 5.0.0-alpha.0 to before 5.94.0 | 5.94.0 | Patch available | CNA |
| — | webpack (npm) | 5.0.0-alpha.0 to before 5.94.0 | 5.94.0 | Patch available | GHSA-4vvj-4cpr-p986 |
- webpack Vendorwebpack Affected 5.0.0-alpha.0 to before 5.94.0 Fixed in 5.94.0 Patch available CNA
- webpack (npm) Vendor— Affected 5.0.0-alpha.0 to before 5.94.0 Fixed in 5.94.0 Patch available GHSA-4vvj-4cpr-p986
Remediation
- Fix · CNA webpack (webpack) Fixed in 5.94.0
- Fix · GHSA-4vvj-4cpr-p986 webpack (npm) Fixed in 5.94.0 Advisory →
Red Hat 12 advisories
- RHSA-2025:1249 Released 2025-02-10 · Red Hat rating Importantupdated discovery container images
- Discovery 1 for RHEL 9 discovery/discovery-server-rhel9, discovery/discovery-ui-rhel9
- RHSA-2025:0323 Released 2025-01-15 · Red Hat rating ModerateRed Hat OpenShift Data Foundation 4.14.13 Bug Fix Update
- RHODF 4.14 for RHEL 9 odf4/ocs-client-console-rhel9, odf4/odf-console-rhel9, odf4/odf-multicluster-console-rhel9
- RHSA-2024:10906 Released 2024-12-10 · Red Hat rating ImportantMigration Toolkit for Containers (MTC) 1.8.5 security and bug fix update
- 8Base-RHMTC-1.8 rhmtc/openshift-migration-controller-rhel8, rhmtc/openshift-migration-registry-rhel8, rhmtc/openshift-migration-ui-rhel8 +1
Show 9 more Red Hat advisories
- RHSA-2024:10214 Released 2024-11-25 · Red Hat rating ImportantRed Hat Data Grid 8.5.2 security update
- Red Hat Data Grid
- RHSA-2024:8676 Released 2024-10-30 · Red Hat rating ImportantRed Hat OpenShift Data Foundation 4.17.0 Security, Enhancement, & Bug Fix Update
- RHODF 4.17 for RHEL 9 odf4/mcg-core-rhel9, odf4/ocs-client-console-rhel9, odf4/odf-console-rhel9 +3
- RHSA-2024:8014 Released 2024-10-22 · Red Hat rating ImportantNetwork Observability 1.7.0 for OpenShift
- NETOBSERV 1.7 for RHEL 9 network-observability/network-observability-cli-rhel9, network-observability/network-observability-console-plugin-rhel9, network-observability/network-observability-ebpf-agent-rhel9 +3
- RHSA-2024:8113 Released 2024-10-15 · Red Hat rating ImportantRed Hat OpenShift Data Foundation 4.16.3 security and bug fix update
- RHODF 4.16 for RHEL 9 odf4/mcg-core-rhel9, odf4/odf-console-rhel9
- RHSA-2024:8023 Released 2024-10-14 · Red Hat rating ImportantRelease of OpenShift Serverless Logic 1.34.0 security update & enhancements
- 8Base-Openshift-Serverless-1.34 openshift-serverless-1/logic-data-index-ephemeral-rhel8, openshift-serverless-1/logic-data-index-postgresql-rhel8, openshift-serverless-1/logic-jobs-service-ephemeral-rhel8 +7
- RHSA-2024:7725 Released 2024-10-07 · Red Hat rating ImportantRed Hat OpenShift Service Mesh Containers for 2.5.5
- RHOSSM 2.5 for RHEL 8 openshift-service-mesh/grafana-rhel8, openshift-service-mesh/istio-cni-rhel8, openshift-service-mesh/istio-must-gather-rhel8 +5
- RHSA-2024:7726 Released 2024-10-07 · Red Hat rating ImportantRed Hat OpenShift Service Mesh Containers for 2.6.2
- RHOSSM 2.6 for RHEL 8 openshift-service-mesh/grafana-rhel8, openshift-service-mesh/istio-cni-rhel8, openshift-service-mesh/istio-must-gather-rhel8 +6
- RHOSSM 2.6 for RHEL 9 openshift-service-mesh/proxyv2-rhel9
- RHSA-2024:7724 Released 2024-10-07 · Red Hat rating ImportantRed Hat OpenShift Service Mesh Containers for 2.4.11
- RHOSSM 2.4 for RHEL 8 openshift-service-mesh/grafana-rhel8, openshift-service-mesh/istio-cni-rhel8, openshift-service-mesh/istio-must-gather-rhel8 +4
- RHSA-2024:7706 Released 2024-10-07 · Red Hat rating ModerateRed Hat build of Cryostat security update
- Cryostat 3 on RHEL 8 cryostat-tech-preview/cryostat-db-rhel8, cryostat-tech-preview/cryostat-grafana-dashboard-rhel8, cryostat-tech-preview/cryostat-operator-bundle +6
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Logging Subsystem for Red Hat OpenShift | Affected | No fix yet: Fix deferred |
| Migration Toolkit for Applications 7 | Affected | No fix planned: Will not fix |
| Migration Toolkit for Runtimes | Affected | No fix yet: Fix deferred |
| Migration Toolkit for Virtualization | Affected | No fix yet |
| Node HealthCheck Operator | Affected | No fix yet |
| OpenShift Lightspeed | Affected | No fix yet |
| OpenShift Pipelines | Affected | No fix yet |
| Red Hat 3scale API Management Platform 2 | Affected | No fix planned: Will not fix |
| Red Hat Advanced Cluster Security 4 | Affected | No fix planned: Will not fix |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet |
| Red Hat Certification for Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Developer Hub 1 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 9 | Affected | No fix planned: Will not fix |
| Red Hat Fuse 7 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Data Science (RHODS) | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Dev Spaces | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift GitOps | Affected | No fix yet |
| Red Hat OpenShift Virtualization 4 | Affected | No fix yet |
| Red Hat OpenShift distributed tracing 3 | Affected | No fix planned: Will not fix |
| Red Hat Process Automation 7 | Affected | No fix planned: Will not fix |
| Red Hat Satellite 6 | Affected | No fix yet: Fix deferred |
| Red Hat Trusted Profile Analyzer | Affected | No fix yet |
| Red Hat build of Apache Camel - HawtIO 4 | Affected | No fix yet |
| Red Hat build of OptaPlanner 8 | Affected | No fix planned: Will not fix |
| 8Base-Openshift-Serverless-1.34 | Fixed | RHSA-2024:8023 |
| 8Base-RHMTC-1.8 | Fixed | RHSA-2024:10906 |
| Cryostat 3 on RHEL 8 | Fixed | RHSA-2024:7706 |
| Discovery 1 for RHEL 9 | Fixed | RHSA-2025:1249 |
| NETOBSERV 1.7 for RHEL 9 | Fixed | RHSA-2024:8014 |
| RHODF 4.14 for RHEL 9 | Fixed | RHSA-2025:0323 |
| RHODF 4.16 for RHEL 9 | Fixed | RHSA-2024:8113 |
| RHODF 4.17 for RHEL 9 | Fixed | RHSA-2024:8676 |
| RHOSSM 2.4 for RHEL 8 | Fixed | RHSA-2024:7724 |
| RHOSSM 2.5 for RHEL 8 | Fixed | RHSA-2024:7725 |
| RHOSSM 2.6 for RHEL 8 | Fixed | RHSA-2024:7726 |
| RHOSSM 2.6 for RHEL 9 | Fixed | RHSA-2024:7726 |
| Red Hat Data Grid | Fixed | RHSA-2024:10214 |
Not affected: 15 products
- 8Base-RHMTC-1.8
- Multicluster Engine for Kubernetes
- RHODF 4.14 for RHEL 9
- RHODF 4.16 for RHEL 9
- RHODF 4.17 for RHEL 9
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Ansible Automation Platform 2
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift Data Science (RHODS)
Timeline
- 2026-10-02 Threatist record created from CVE-2024-43788
- 2026-10-03 Alias added: GHSA-4vvj-4cpr-p986
- 2026-10-09 Affected versions changed · Red Hat
- 2026-10-13 Fix available: Red Hat Data Grid · Red Hat
- 2026-10-27 Affected versions changed · Red Hat
References
Exploit 3
More Webpack vulnerabilities
- TI-2023-12725 Webpack 5 before 5.76.0 does not avoid cross-realm object access. CVSS 3.1CRITICAL 9.8
- TI-2025-41991 webpack buildHttp: allowedUris allow-list bypass via URL userinfo (@) leading to build-time SSRF behavior CVSS 3.1LOW 3.7
- TI-2025-41737 webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects CVSS 3.1LOW 3.7
Sources
- CVE-2024-43788 · CVE Program
- CVE-2024-43788 · NVD
- FIRST EPSS
- GHSA-4vvj-4cpr-p986 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-43788 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences