CVE-2024-43788
CVSS v3
6.1
MEDIUM
EPSS Score
1.0 %
exploit probability, as of 2026-10-17
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for webpack. Watch webpack in CVE Watch Free account · no credit card
Affected and fixed versions
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
- webpacknpmfrom 5.0.0-alpha.0 · fixed in 5.94.0
Vendor advisories
webpack: DOM Clobbering vulnerability in AutoPublicPathRuntimeModule
openshift-logging/logging-view-plugin-rhel8 as a component of Logging Subsystem for Red Hat OpenShift · mta/mta-ui-rhel9 as a component of Migration Toolkit for Applications 7 · webpack.src as a component of Migration Toolkit for Runtimes
Red Hat Security Advisory: updated discovery container images
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.14.13 Bug Fix Update
Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.8.5 security and bug fix update
Red Hat Security Advisory: Red Hat Data Grid 8.5.2 security update
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.17.0 Security, Enhancement, & Bug Fix Update
7 more advisories
Description
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.
Technical details
- Published
- 2024-08-27
Frequently asked questions
What is CVE-2024-43788?
Is CVE-2024-43788 actively exploited?
What is the CVSS score for CVE-2024-43788?
Running webpack? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.