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-2022-25875 (Medium) detected in svelte-3.44.2.tgz #8

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2022-25875 - 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

The package svelte before 3.49.0 are vulnerable to Cross-site Scripting (XSS) due to improper input sanitization and to improper escape of attributes when using objects during SSR (Server-Side Rendering). Exploiting this vulnerability is possible via objects with a custom toString() function.

Publish Date: 2022-07-12

URL: CVE-2022-25875

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25875

Release Date: 2022-07-12

Fix Resolution: 3.49.0


Step up your Open Source Security Game with Mend here