Overview
- 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.
- Source
- security-advisories@github.com
- NVD status
- Modified
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 6.1
- Impact score
- 2.7
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Severity
- MEDIUM
Weaknesses
- security-advisories@github.com
- CWE-79
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:rollupjs:rollup:*:*:*:*:*:node.js:*:*", "vulnerable": true, "matchCriteriaId": "7812FF87-65ED-493E-B7A2-CE52ED9A264B", "versionEndExcluding": "2.79.2", "versionStartIncluding": "0.59.0" }, { "criteria": "cpe:2.3:a:rollupjs:rollup:*:*:*:*:*:node.js:*:*", "vulnerable": true, "matchCriteriaId": "569E13A3-3FB9-4F70-952F-A62469C94088", "versionEndExcluding": "3.29.5", "versionStartIncluding": "3.0.0" }, { "criteria": "cpe:2.3:a:rollupjs:rollup:*:*:*:*:*:node.js:*:*", "vulnerable": true, "matchCriteriaId": "3D64745D-7FA0-491E-99ED-346369564D59", "versionEndExcluding": "4.22.4", "versionStartIncluding": "4.0.0" } ], "operator": "OR" } ] } ]