CVE-2024-47068 - CVE House
Back to Database
Status published Medium CVE-2024-47068

DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-47068

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

rollup
Vulnerable Versions:
>= 3.0.0, < 3.29.5, >= 4.0.0, < 4.22.4, < 2.79.2

Timeline

Official Publish: September 23rd, 2024
Last Modified: October 29th, 2024
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses (CWE)