CVE catalog

CVE-2024-43788

node-webpack: CVE-2024-43788

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannode-webpacksid5.108.0+dfsg1+~cs14.7.20-3fixed
Debiannode-webpackforky5.108.0+dfsg1+~cs14.7.20-3fixed
Debiannode-webpacktrixie5.97.1+dfsg1+~cs11.18.27-3fixed
Debiannode-webpackbookworm5.75.0+dfsg+~cs17.16.14-1+deb12u1vulnerable
Opensuseforgejotumbleweed8.0.3-1.1fixed
Opensuserolluptumbleweed3.29.5-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-webpacksourcesid5.94.0+dfsg1+~cs11.18.26-2not yet assignedNot reported[1081906]
Debiannode-webpacksourceforky5.94.0+dfsg1+~cs11.18.26-2not yet assignedNot reported[1081906]
Debiannode-webpacksourcetrixie5.94.0+dfsg1+~cs11.18.26-2not yet assignedNot reported[1081906]
Debiannode-webpacksourcebookworm(unfixed)not yet assignedNot reported[1081906]
Opensuseforgejorpmtumbleweed8.0.3-1.1Not reportedOPENSUSE-SU-2024:14330-1Not reported
Opensuserolluprpmtumbleweed3.29.5-1.1Not reportedOPENSUSE-SU-2025:15020-1Not reported

[Debian bug #1081906]

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 · bookworm

      Affected

      dsa · node-webpack · debian · bookworm; dsa · node-webpack · debian · 12

    • 5.75.0+dfsg+~cs17.16.14-1+deb12u1 · all · bookworm

      Affected

      dsa · node-webpack · debian · bookworm; dsa · node-webpack · debian · 12

[openSUSE Tumbleweed]

  • Source package: [forgejo]

    Details (1)
    • 16.0.3-1.1 · noarch · tumbleweed

      Unknown · Fixed: 8.0.3-1.1

      Version impact unknown

      dsa · forgejo · opensuse · tumbleweed

  • Source package: [forgejo]

    Details (1)
    • 16.0.3-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 8.0.3-1.1

      Version impact unknown

      dsa · forgejo · opensuse · tumbleweed

  • Source package: [forgejo]

    Details (1)
    • 16.0.3-1.1 · noarch · tumbleweed

      Unknown · Fixed: 8.0.3-1.1

      Version impact unknown

      dsa · forgejo · opensuse · tumbleweed

  • Source package: [forgejo]

    Details (1)
    • 16.0.3-1.1 · noarch · tumbleweed

      Unknown · Fixed: 8.0.3-1.1

      Version impact unknown

      dsa · forgejo · opensuse · tumbleweed

  • [forgejo]Fixed

    Source package: [forgejo]

    Details (1)
    • 16.0.3-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 8.0.3-1.1

      dsa · forgejo · opensuse · tumbleweed

  • [rollup]Fixed

    Source package: [rollup]

    Details (1)
    • 3.29.5-1.4 · noarch · tumbleweed

      Fixed · Fixed: 3.29.5-1.1

      dsa · rollup · opensuse · tumbleweed

[Debian 13 (Trixie)]

  • [webpack]Fixed

    Source package: [node-webpack]

    Details (2)
    • 5.97.1+dfsg1+~cs11.18.27-3 · all · trixie

      Fixed · Fixed: 5.94.0+dfsg1+~cs11.18.26-2

      dsa · node-webpack · debian · 13

    • 5.97.1+dfsg1+~cs11.18.27-3 · all · trixie

      Fixed · Fixed: 5.94.0+dfsg1+~cs11.18.26-2

      dsa · node-webpack · debian · 13

Observed:

References