Skip to content

CVE-2024-47068 DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS

MediumCVSS 6.1 EPSS 0.74%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

Rollup is a module bundler for JavaScript. Versions prior to 2.79.2, 3.29.5, and 4.22.4 are susceptible to a DOM Clobbering vulnerability when bundling scripts with properties from import.meta (e.g., import.meta.url) in cjs/umd/iife format. The DOM Clobbering gadget 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. Versions 2.79.2, 3.29.5, and 4.22.4 contain a patch for the vulnerability.

Upgrade path

10 packages: 5 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
debian/node-rollup(Debian 12) = 3.15.0-1; = 3.15.0-1+deb12u1; = 3.15.0-2; = 3.28.0-1 +15 more No fix listed No fix yet
ubuntu/node-rollup(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/node-rollup(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/node-rollup(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/node-rollup(Ubuntu 26.10) All versions No fix listed No fix yet
debian/node-rollup(Debian 13) < 3.29.5-1 3.29.5-1 Fixed
debian/node-rollup(Debian 14) < 3.29.5-1 3.29.5-1 Fixed
npm rollup(npm) < 2.79.2; >= 3.0.0, < 3.29.5; >= 4.0.0, < 4.22.4 2.79.2, 3.29.5, 4.22.4 Fixed
rollup < 3.29.5; = < 2.79.2; = >= 3.0.0, < 3.29.5; = >= 4.0.0, < 4.22.4 +1 more 3.29.5, 4.22.4 Fixed
rollupjs rollup >= 0.59.0, < 2.79.2; >= 3.0.0, < 3.29.5; >= 4.0.0, < 4.22.4 2.79.2, 3.29.5, 4.22.4 Fixed

Affected products

ProductAffected versionsFixed in
npm rollup(npm) >= 4.0.0, < 4.22.4 4.22.4
npm rollup(npm) >= 3.0.0, < 3.29.5 3.29.5
npm rollup(npm) < 2.79.2 2.79.2
debian/node-rollup(Debian:12) All versions No fix listed
debian/node-rollup(Debian:12) = 3.15.0-1 No fix listed
debian/node-rollup(Debian:12) = 3.15.0-1+deb12u1 No fix listed
debian/node-rollup(Debian:12) = 3.15.0-2 No fix listed
debian/node-rollup(Debian:12) = 3.28.0-1 No fix listed
debian/node-rollup(Debian:12) = 3.28.0-2 No fix listed
debian/node-rollup(Debian:12) = 3.29.4-1 No fix listed
debian/node-rollup(Debian:12) = 3.29.4-2 No fix listed
debian/node-rollup(Debian:12) = 3.29.4-3 No fix listed
debian/node-rollup(Debian:12) = 3.29.5-1 No fix listed
debian/node-rollup(Debian:12) = 3.29.5-2 No fix listed
debian/node-rollup(Debian:12) = 3.29.5-3 No fix listed
debian/node-rollup(Debian:12) = 3.30.0-1 No fix listed
debian/node-rollup(Debian:12) = 3.30.0-2 No fix listed
debian/node-rollup(Debian:12) = 3.30.0-3 No fix listed
debian/node-rollup(Debian:12) = 3.30.0-4 No fix listed
debian/node-rollup(Debian:12) = 3.30.0-5 No fix listed
debian/node-rollup(Debian:12) = 3.30.0-6 No fix listed
debian/node-rollup(Debian:12) = 3.30.0-7 No fix listed
debian/node-rollup(Debian:13) < 3.29.5-1 3.29.5-1
debian/node-rollup(Debian:14) < 3.29.5-1 3.29.5-1
ubuntu/node-rollup(Ubuntu:22.04) All versions No fix listed
Show 11 more
ProductAffected versionsFixed in
rollup = >= 3.0.0, < 3.29.5 No fix listed
rollup = >= 4.0.0, < 4.22.4 No fix listed
rollup = < 2.79.2 No fix listed
rollup < 3.29.5 3.29.5
rollup >= 4.0.0, < 4.22.4 4.22.4
ubuntu/node-rollup(Ubuntu:24.04) All versions No fix listed
rollupjs rollup >= 0.59.0, < 2.79.2 2.79.2
rollupjs rollup >= 3.0.0, < 3.29.5 3.29.5
rollupjs rollup >= 4.0.0, < 4.22.4 4.22.4
ubuntu/node-rollup(Ubuntu:26.04) All versions No fix listed
ubuntu/node-rollup(Ubuntu:26.10) All versions No fix listed

References