Red Hat VEX
RHVEX-CVE-2024-43788
webpack: DOM Clobbering vulnerability in AutoPublicPathRuntimeModule
Details
A DOM Clobbering vulnerability was found in Webpack via AutoPublicPathRuntimeModule. DOM Clobbering is a type of code-reuse attack where the attacker first embeds a piece of non-script through seemingly benign HTML markups in the webpage, for example, 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | firefox | All versions, will not be fixed |
| Red Hat:enterprise_linux:6 | thunderbird | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | thunderbird | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | js-d3-flame-graph | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | js-d3-flame-graph | All versions, will not be fixed |
References
- https://access.redhat.com/security/cve/CVE-2024-43788
- https://bugzilla.redhat.com/show_bug.cgi?id=2308193
- https://www.cve.org/CVERecord?id=CVE-2024-43788
- https://nvd.nist.gov/vuln/detail/CVE-2024-43788
- https://github.com/webpack/webpack/commit/955e057abc6cc83cbc3fa1e1ef67a49758bf5a61
- https://github.com/webpack/webpack/security/advisories/GHSA-4vvj-4cpr-p986
- https://research.securitum.com/xss-in-amp4email-dom-clobbering
- https://scnps.co/papers/sp23_domclob.pdf