shahul01 / image-slider

Image slider / Photo gallery carousel #api #svelte
https://svelte.dev/repl/3fa53d36819c4f6ea2db513ca4410777?version=3.45.0
0 stars 0 forks source link

CVE-2024-45047 (Medium) detected in svelte-3.44.2.tgz #24

Open mend-bolt-for-github[bot] opened 1 month ago

mend-bolt-for-github[bot] commented 1 month ago

CVE-2024-45047 - Medium Severity Vulnerability

Vulnerable Library - svelte-3.44.2.tgz

Cybernetically enhanced web apps

Library home page: https://registry.npmjs.org/svelte/-/svelte-3.44.2.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy: - :x: **svelte-3.44.2.tgz** (Vulnerable Library)

Found in HEAD commit: 04f495c91ab6c5c3804b30f9573d49c5e83a09e8

Found in base branch: master

Vulnerability Details

svelte performance oriented web framework. A potential mXSS vulnerability exists in Svelte for versions up to but not including 4.2.19. Svelte improperly escapes HTML on server-side rendering. The assumption is that attributes will always stay as such, but in some situation the final DOM tree rendered on browsers is different from what Svelte expects on server-side rendering. This may be leveraged to perform XSS attacks, and a type of the XSS is known as mXSS (mutation XSS). More specifically, this can occur when injecting malicious content into an attribute within a `noscript` tag. This issue has been addressed in release version 4.2.19. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Publish Date: 2024-08-30

URL: CVE-2024-45047

CVSS 3 Score Details (5.4)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - 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/sveltejs/svelte/security/advisories/GHSA-8266-84wp-wv5c

Release Date: 2024-08-30

Fix Resolution: 4.2.19


Step up your Open Source Security Game with Mend here