CVE-2024-47068
Last modified
CVE-2024-47068 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.71% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rollupjs | Rollup | >= 0.59.0, < 2.79.2 |
| Rollupjs | Rollup | >= 3.0.0, < 3.29.5 |
| Rollupjs | Rollup | >= 4.0.0, < 4.22.4 |
References
- https://github.com/rollup/rollup/security/advisories/GHSA-gcx4-mw62-g8wmExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-47068?
How severe is CVE-2024-47068?
How do I fix CVE-2024-47068?
Are you affected by CVE-2024-47068?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
