{"cve":"CVE-2024-47068","nvd":{"published":"2024-09-23T16:15:06.947","modified":"2026-06-17T07:56:29.220","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/rollup/rollup/blob/b86ffd776cfa906573d36c3f019316d02445d9ef/src/ast/nodes/MetaProperty.ts#L157-L162","https://github.com/rollup/rollup/blob/b86ffd776cfa906573d36c3f019316d02445d9ef/src/ast/nodes/MetaProperty.ts#L180-L185","https://github.com/rollup/rollup/commit/2ef77c00ec2635d42697cff2c0567ccc8db34fb4","https://github.com/rollup/rollup/commit/e2552c9e955e0a61f70f508200ee9f752f85a541","https://github.com/rollup/rollup/security/advisories/GHSA-gcx4-mw62-g8wm"],"products":["rollupjs:rollup"],"source":"nvd","synced_at":"2026-10-19T21:54:38.012257375+00:00"},"epss":{"cve":"CVE-2024-47068","score":0.00742,"percentile":0.54707,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gcx4-mw62-g8wm","url":"https://osv.dev/vulnerability/GHSA-gcx4-mw62-g8wm","summary":"DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS","modified":"2026-09-10T03:50:18.179909724Z","packages":[{"ecosystem":"npm","name":"rollup","purl":"pkg:npm/rollup","ranges":[">=3.0.0 <3.29.5"],"fixed":["3.29.5"]},{"ecosystem":"npm","name":"rollup","purl":"pkg:npm/rollup","ranges":[">=4.0.0 <4.22.4"],"fixed":["4.22.4"]},{"ecosystem":"npm","name":"rollup","purl":"pkg:npm/rollup","ranges":["<2.79.2"],"fixed":["2.79.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}