shahul01 / sveltekit-typescript-tailwindcss-template

Template with SvelteKit TypeScript TailwindCSS
0 stars 0 forks source link

CVE-2024-47068 (Medium) detected in rollup-2.60.1.tgz #35

Open mend-bolt-for-github[bot] opened 3 weeks ago

mend-bolt-for-github[bot] commented 3 weeks ago

CVE-2024-47068 - Medium Severity Vulnerability

Vulnerable Library - rollup-2.60.1.tgz

Next-generation ES module bundler

Library home page: https://registry.npmjs.org/rollup/-/rollup-2.60.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/rollup/package.json

Dependency Hierarchy: - kit-1.0.0-next.201.tgz (Root Library) - vite-2.6.14.tgz - :x: **rollup-2.60.1.tgz** (Vulnerable Library)

Found in HEAD commit: 395b56b03a73fb5861e3846a02ad9928e18944c4

Found in base branch: master

Vulnerability Details

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.

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 Fix

Type: Upgrade version

Origin: https://github.com/rollup/rollup/security/advisories/GHSA-gcx4-mw62-g8wm

Release Date: 2024-09-23

Fix Resolution (rollup): 3.0.0-0

Direct dependency fix Resolution (@sveltejs/kit): 1.0.0


Step up your Open Source Security Game with Mend here