Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2024-45047 (Medium) detected in svelte-3.45.0.tgz #32

Open
mend-bolt-for-github bot opened this issue Sep 1, 2024 · 0 comments
Open

CVE-2024-45047 (Medium) detected in svelte-3.45.0.tgz #32

mend-bolt-for-github bot opened this issue Sep 1, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

CVE-2024-45047 - Medium Severity Vulnerability

Vulnerable Library - svelte-3.45.0.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • svelte-3.45.0.tgz (Vulnerable Library)

Found in HEAD commit: 395b56b03a73fb5861e3846a02ad9928e18944c4

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: GHSA-8266-84wp-wv5c

Release Date: 2024-08-30

Fix Resolution: svelte - 4.2.19


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants