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

WS-2022-0167 (Medium) detected in svelte-3.44.2.tgz #7

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

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

WS-2022-0167 - 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

In svelte before 3.46.5 some attribute values are incorrectly escaped during ssr. The security issue is that objects, on the other hand, were rendered directly to attribute values as unescaped strings. This means an object with a custom toString() can result in raw html injection.

Publish Date: 2022-06-22

URL: WS-2022-0167

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

Release Date: 2022-06-22

Fix Resolution: 3.46.5


Step up your Open Source Security Game with Mend here