*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
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.
Vulnerable Library - @storm-software/build-tools-0.101.3.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json,/node_modules/.pnpm/rollup@4.18.0/node_modules/rollup/package.json
Found in HEAD commit: 191ca35b49e7859d488ff122dea02fa4e36d1c31
Vulnerabilities
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-47068
### Vulnerable Libraries - rollup-3.29.4.tgz, rollup-4.18.0.tgz### rollup-3.29.4.tgz
Library home page: https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy: - @storm-software/build-tools-0.101.3.tgz (Root Library) - unbuild-2.0.0.tgz - :x: **rollup-3.29.4.tgz** (Vulnerable Library) ### rollup-4.18.0.tgz
Library home page: https://registry.npmjs.org/rollup/-/rollup-4.18.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json,/node_modules/.pnpm/rollup@4.18.0/node_modules/rollup/package.json
Dependency Hierarchy: - @storm-software/build-tools-0.101.3.tgz (Root Library) - :x: **rollup-4.18.0.tgz** (Vulnerable Library)
Found in HEAD commit: 191ca35b49e7859d488ff122dea02fa4e36d1c31
Found in base branch: main
### Vulnerability DetailsRollup 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.
Publish Date: 2024-09-23
URL: CVE-2024-47068
### CVSS 3 Score Details (6.1)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://github.com/rollup/rollup/security/advisories/GHSA-gcx4-mw62-g8wm
Release Date: 2024-09-23
Fix Resolution: rollup - 3.29.5,4.22.4
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)