CVE-2024-47068: Rollup is a module bundler for JavaScript
CVE-2024-47068 is a medium-severity flaw (CVSS 6.1) affecting rollup. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.7% (top 45%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2024-09-23 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-47068?
rollup: upgrade to 2.79.2, 3.29.5, 4.22.4. Exact commands for each OS are on this page.
Is CVE-2024-47068 being exploited?
CVE-2024-47068 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-47068 affect?
CVE-2024-47068 affects rollup. Severity is medium (CVSS 6.1). 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`/`iif
How urgent is CVE-2024-47068?
Priority 40/100. Public exploit reference
Related CVEs
- CVE-2026-27606 CRITICAL 9.8 UPGRADE Rollup is a module bundler for JavaScript