CVE-2024-47068
September 23, 2024
Rollup is a module bundler for JavaScript. Versions prior to 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 3.29.5 and 4.22.4 contain a patch for the vulnerability.
Affected Packages
rollup (CDN_JS):
Affected version(s) >=2.63.0 <2.79.2Fix Suggestion:
Update to version 2.79.2rollup (CDN_JS):
Affected version(s) >=4.0.0 <4.22.4Fix Suggestion:
Update to version 4.22.4rollup (CDN_JS):
Affected version(s) >=3.0.0-0 <3.29.5Fix Suggestion:
Update to version 3.29.5rollup (NPM):
Affected version(s) >=3.0.0 <3.29.5Fix Suggestion:
Update to version 3.29.5rollup (NPM):
Affected version(s) >=0.1.0 <2.79.2Fix Suggestion:
Update to version 2.79.2rollup (NPM):
Affected version(s) >=4.0.0 <4.22.4Fix Suggestion:
Update to version 4.22.4Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
2.84