GHSA-4vvj-4cpr-p986 · Severity: medium · Ecosystem: npm — Webpack's AutoPublicPathRuntimeModule has a DOM Clobbering Gadget that leads to XSS
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.
Conclusion & alert: CVE-2024-43788 is rated Exploit Available (59.1/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.90%). Core evidence: 3 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 1.52% | 0.90% | -0.62% |
| 2 | 2026-06-05 | 1.56% | 1.52% | -0.04% |
| 3 | 2026-05-23 | — | 1.56% | — |
Full EPSS history (18 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.4 | 3.1 | MEDIUM |
|
1.6 | 4.7 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-4vvj-4cpr-p986 · Severity: medium · Ecosystem: npm — Webpack's AutoPublicPathRuntimeModule has a DOM Clobbering Gadget that leads to XSS
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2024-43788 not yet assigned priority: Debian including 1 source packages (node-webpack), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. | https://security-tracker.debian.org/tracker/CVE-2024-43788 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2024-43788 |
suse
|
medium | CVE-2024-43788 severity moderate: SUSE including 11 source package names (forgejo-8.0.3-1.1, forgejo-apparmor-8.0.3-1.1, …), 20 product×package rows across 5 product lines (SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP7, SUSE Linux Enterprise Module for Python 3 15 SP6, … (5 product lines)): Fixed 20. | https://www.suse.com/security/cve/CVE-2024-43788/ |
ubuntu
|
medium | CVE-2024-43788 medium priority: Ubuntu including 1 source packages (node-webpack), 8 status rows across 8 suites (bionic, focal, jammy, noble, oracular, plucky, questing, upstream): needs-triage 6, ignored 2. | https://ubuntu.com/security/CVE-2024-43788 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| webpack.js | webpack | < 5.94.0 | cpe:2.3:a:webpack.js:webpack:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/webpack/webpack/commit/955e057abc6cc83cbc3fa1e1ef67a49758bf5a61 | Patch |
| https://github.com/webpack/webpack/issues/18718#issuecomment-2326296270 | |
| https://github.com/webpack/webpack/security/advisories/GHSA-4vvj-4cpr-p986 | Exploit Vendor Advisory |
| https://research.securitum.com/xss-in-amp4email-dom-clobbering | Exploit Third Party Advisory |
| https://scnps.co/papers/sp23_domclob.pdf | Exploit Mitigation Technical Description Third Party Advisory |