CVE-2024-43788 is a DOM clobbering vulnerability in Webpack's AutoPublicPathRuntimeModule. The generated runtime code can be influenced by attacker-injected, scriptless HTML elements whose name or id attributes collide with DOM properties used by the runtime. This creates a code-reuse gadget that can transform otherwise non-script HTML injection into executable JavaScript, resulting in cross-site scripting in applications that serve affected Webpack-generated bundles.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository demonstrates a proof-of-concept (POC) exploit for CVE-2024-43788, a vulnerability in Webpack's handling of the publicPath configuration. The repository is structured into two main components: 1. **malicious-website/**: Contains a Node.js server (`malicious_server.js`) that serves a malicious JavaScript payload (`xss.js`) and an endpoint (`/steal.gif`) for exfiltrating stolen cookies. The payload, when executed in a victim's browser, attempts to steal cookies and send them to the attacker's server. 2. **vulnerable-website/**: Simulates a vulnerable web application. It serves an `index.html` that loads user comments from a `/comments` endpoint. One of the comments contains an `<img>` tag with `name="currentScript"` and a `src` pointing to the malicious JavaScript. The site also loads a Webpack bundle (`dist/bundle.js`) that is vulnerable due to its use of `publicPath: 'auto'` in the Webpack config. This allows the attacker to clobber the `currentScript` and execute arbitrary JavaScript in the context of the vulnerable site. The exploit chain is as follows: The attacker injects a comment containing a specially crafted `<img>` tag. When the vulnerable site renders this comment, the browser loads the attacker's JavaScript, which then executes in the victim's browser, steals cookies, and exfiltrates them to the attacker's server. The repository provides both the vulnerable application and the attack infrastructure, making it a complete demonstration of the exploit.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
DOM-clobbering vulnerability in webpack's AutoPublicPathRuntimeModule addressed by the Network Observability 1.7.0 update.
A DOM-clobbering vulnerability in webpack's AutoPublicPathRuntimeModule.
A DOM clobbering vulnerability in webpack's AutoPublicPathRuntimeModule.
A DOM-clobbering vulnerability in webpack's AutoPublicPathRuntimeModule addressed by the OpenShift Serverless Logic 1.34.0 security update.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.