{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-47068","published":"2024-09-23T16:15:06.947000Z","last_modified":"2026-06-17T07:56:29.220000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:rollupjs:rollup:*:*:*:*:*:node.js:*:*","part":"a","vendor":"rollupjs","product":"rollup","version_start_including":"0.59.0","version_end_excluding":"2.79.2"},{"criteria":"cpe:2.3:a:rollupjs:rollup:*:*:*:*:*:node.js:*:*","part":"a","vendor":"rollupjs","product":"rollup","version_start_including":"3.0.0","version_end_excluding":"3.29.5"},{"criteria":"cpe:2.3:a:rollupjs:rollup:*:*:*:*:*:node.js:*:*","part":"a","vendor":"rollupjs","product":"rollup","version_start_including":"4.0.0","version_end_excluding":"4.22.4"}],"cpes_truncated":false,"vendors":["rollupjs"],"products":["rollupjs/rollup"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00989,"percentile":0.61375,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-gcx4-mw62-g8wm","ecosystem":"npm","name":"rollup","purl":"pkg:npm/rollup","ranges":[{"introduced":"3.0.0","fixed":"3.29.5"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-gcx4-mw62-g8wm","ecosystem":"npm","name":"rollup","purl":"pkg:npm/rollup","ranges":[{"introduced":"4.0.0","fixed":"4.22.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-gcx4-mw62-g8wm","ecosystem":"npm","name":"rollup","purl":"pkg:npm/rollup","ranges":[{"introduced":"0","fixed":"2.79.2"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2024-47068/","html_en":"/en/cve/CVE-2024-47068/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-47068","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-47068"},"untrusted":{"vendor_name":"Rollupjs","product_name":"Rollup","desc_en":"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.","affected":[{"untrusted_vendor":"rollup","untrusted_product":"rollup","versions":[]}],"references":[{"url":"https://github.com/rollup/rollup/blob/b86ffd776cfa906573d36c3f019316d02445d9ef/src/ast/nodes/MetaProperty.ts#L157-L162","tags":["Product"]},{"url":"https://github.com/rollup/rollup/blob/b86ffd776cfa906573d36c3f019316d02445d9ef/src/ast/nodes/MetaProperty.ts#L180-L185","tags":["Product"]},{"url":"https://github.com/rollup/rollup/commit/2ef77c00ec2635d42697cff2c0567ccc8db34fb4","tags":["Patch"]},{"url":"https://github.com/rollup/rollup/commit/e2552c9e955e0a61f70f508200ee9f752f85a541","tags":["Patch"]},{"url":"https://github.com/rollup/rollup/security/advisories/GHSA-gcx4-mw62-g8wm","tags":["Exploit","Vendor Advisory"]}]}}