
CVE catalog
CVE-2024-43788
node-webpack: CVE-2024-43788
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.96% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-webpack | sid | 5.108.0+dfsg1+~cs14.7.20-3 | fixed |
| Debian | node-webpack | forky | 5.108.0+dfsg1+~cs14.7.20-3 | fixed |
| Debian | node-webpack | trixie | 5.97.1+dfsg1+~cs11.18.27-3 | fixed |
| Debian | node-webpack | bookworm | 5.75.0+dfsg+~cs17.16.14-1+deb12u1 | vulnerable |
| Opensuse | forgejo | tumbleweed | 8.0.3-1.1 | fixed |
| Opensuse | rollup | tumbleweed | 3.29.5-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-webpack | source | sid | 5.94.0+dfsg1+~cs11.18.26-2 | not yet assigned | Not reported | [1081906] |
| Debian | node-webpack | source | forky | 5.94.0+dfsg1+~cs11.18.26-2 | not yet assigned | Not reported | [1081906] |
| Debian | node-webpack | source | trixie | 5.94.0+dfsg1+~cs11.18.26-2 | not yet assigned | Not reported | [1081906] |
| Debian | node-webpack | source | bookworm | (unfixed) | not yet assigned | Not reported | [1081906] |
| Opensuse | forgejo | rpm | tumbleweed | 8.0.3-1.1 | Not reported | OPENSUSE-SU-2024:14330-1 | Not reported |
| Opensuse | rollup | rpm | tumbleweed | 3.29.5-1.1 | Not reported | OPENSUSE-SU-2025:15020-1 | Not reported |
Notes
[bookworm] node-webpack: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [webpack]Affected
Source package: [node-webpack]
Details (2)
5.75.0+dfsg+~cs17.16.14-1+deb12u1· all · bookwormAffected
dsa · node-webpack · debian · bookworm; dsa · node-webpack · debian · 12
5.75.0+dfsg+~cs17.16.14-1+deb12u1· all · bookwormAffected
dsa · node-webpack · debian · bookworm; dsa · node-webpack · debian · 12
[openSUSE Tumbleweed]
- [forgejo-apparmor]Unknown
Source package: [forgejo]
Details (1)
16.0.3-1.1· noarch · tumbleweedUnknown · Fixed:
8.0.3-1.1Version impact unknown
dsa · forgejo · opensuse · tumbleweed
- [forgejo-environment-to-ini]Unknown
Source package: [forgejo]
Details (1)
16.0.3-1.1· x86_64 · tumbleweedUnknown · Fixed:
8.0.3-1.1Version impact unknown
dsa · forgejo · opensuse · tumbleweed
- [forgejo-firewalld]Unknown
Source package: [forgejo]
Details (1)
16.0.3-1.1· noarch · tumbleweedUnknown · Fixed:
8.0.3-1.1Version impact unknown
dsa · forgejo · opensuse · tumbleweed
- [forgejo-selinux]Unknown
Source package: [forgejo]
Details (1)
16.0.3-1.1· noarch · tumbleweedUnknown · Fixed:
8.0.3-1.1Version impact unknown
dsa · forgejo · opensuse · tumbleweed
- [forgejo]Fixed
Source package: [forgejo]
Details (1)
16.0.3-1.1· x86_64 · tumbleweedFixed · Fixed:
8.0.3-1.1dsa · forgejo · opensuse · tumbleweed
- [rollup]Fixed
Source package: [rollup]
Details (1)
3.29.5-1.4· noarch · tumbleweedFixed · Fixed:
3.29.5-1.1dsa · rollup · opensuse · tumbleweed
[Debian 13 (Trixie)]
- [webpack]Fixed
Source package: [node-webpack]
Details (2)
5.97.1+dfsg1+~cs11.18.27-3· all · trixieFixed · Fixed:
5.94.0+dfsg1+~cs11.18.26-2dsa · node-webpack · debian · 13
5.97.1+dfsg1+~cs11.18.27-3· all · trixieFixed · Fixed:
5.94.0+dfsg1+~cs11.18.26-2dsa · node-webpack · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_3771-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-43788]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14330-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15020-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-43788]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-43788.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-3089.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]