Read the docs
TI-2024-29382 Aliases CVE-2024-43788GHSA-4vvj-4cpr-p986

DOM Clobbering Gadget found in Webpack's AutoPublicPathRuntimeModule that leads to Cross-site Scripting (XSS)

Priority MEDIUM 62CWE-79Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00959 61st percentileScored 2026-11-07
Public exploit Yes 3 exploit referencesTagged by NVD
Fix Partial webpack (webpack): 5.94.0webpack (npm): 5.94.0Red Hat: 12 advisoriesRed Hat: 13 fixed, 30 without a fix

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

VendorProductAffected versionsFixed inStatusSource
webpackwebpack5.0.0-alpha.0 to before 5.94.05.94.0Patch availableCNA
—webpack (npm)5.0.0-alpha.0 to before 5.94.05.94.0Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:webpack.js:webpack:*:*:*:*:*:node.js:*:*before 5.94.0Vulnerablewebpack
  • cpe:2.3:a:webpack.js:webpack:*:*:*:*:*:node.js:*:* Versions before 5.94.0 Vulnerable ·webpack

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 Important
    updated 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 Moderate
    Red 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 Important
    Migration 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 Important
    Red Hat Data Grid 8.5.2 security update
    • Red Hat Data Grid
  • RHSA-2024:8676 Released 2024-10-30 · Red Hat rating Important
    Red 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 Important
    Network 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 Important
    Red 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 Important
    Release 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 Important
    Red 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 Important
    Red 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 Important
    Red 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 Moderate
    Red 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 →

ProductStatusPlan or fix
Logging Subsystem for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Migration Toolkit for Applications 7AffectedNo fix planned: Will not fix
Migration Toolkit for RuntimesAffectedNo fix yet: Fix deferred
Migration Toolkit for VirtualizationAffectedNo fix yet
Node HealthCheck OperatorAffectedNo fix yet
OpenShift LightspeedAffectedNo fix yet
OpenShift PipelinesAffectedNo fix yet
Red Hat 3scale API Management Platform 2AffectedNo fix planned: Will not fix
Red Hat Advanced Cluster Security 4AffectedNo fix planned: Will not fix
Red Hat Ansible Automation Platform 2AffectedNo fix yet
Red Hat Certification for Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Red Hat Developer Hub 1AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 9AffectedNo fix planned: Will not fix
Red Hat Fuse 7AffectedNo fix planned: Will not fix
Red Hat OpenShift AI (RHOAI)AffectedNo fix planned: Will not fix
Red Hat OpenShift Container Platform 3.11AffectedNo fix yet
Red Hat OpenShift Container Platform 4AffectedNo fix yet
Red Hat OpenShift Data Science (RHODS)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Dev SpacesAffectedNo fix yet: Fix deferred
Red Hat OpenShift GitOpsAffectedNo fix yet
Red Hat OpenShift Virtualization 4AffectedNo fix yet
Red Hat OpenShift distributed tracing 3AffectedNo fix planned: Will not fix
Red Hat Process Automation 7AffectedNo fix planned: Will not fix
Red Hat Satellite 6AffectedNo fix yet: Fix deferred
Red Hat Trusted Profile AnalyzerAffectedNo fix yet
Red Hat build of Apache Camel - HawtIO 4AffectedNo fix yet
Red Hat build of OptaPlanner 8AffectedNo fix planned: Will not fix
8Base-Openshift-Serverless-1.34Fixed RHSA-2024:8023
8Base-RHMTC-1.8Fixed RHSA-2024:10906
Cryostat 3 on RHEL 8Fixed RHSA-2024:7706
Discovery 1 for RHEL 9Fixed RHSA-2025:1249
NETOBSERV 1.7 for RHEL 9Fixed RHSA-2024:8014
RHODF 4.14 for RHEL 9Fixed RHSA-2025:0323
RHODF 4.16 for RHEL 9Fixed RHSA-2024:8113
RHODF 4.17 for RHEL 9Fixed RHSA-2024:8676
RHOSSM 2.4 for RHEL 8Fixed RHSA-2024:7724
RHOSSM 2.5 for RHEL 8Fixed RHSA-2024:7725
RHOSSM 2.6 for RHEL 8Fixed RHSA-2024:7726
RHOSSM 2.6 for RHEL 9Fixed RHSA-2024:7726
Red Hat Data GridFixed 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

  1. 2026-10-02 Threatist record created from CVE-2024-43788
  2. 2026-10-03 Alias added: GHSA-4vvj-4cpr-p986
  3. 2026-10-09 Affected versions changed · Red Hat
  4. 2026-10-13 Fix available: Red Hat Data Grid · Red Hat
  5. 2026-10-27 Affected versions changed · Red Hat

References

  • 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