shahul01 / sveltekit-typescript-tailwindcss-template

Template with SvelteKit TypeScript TailwindCSS
0 stars 0 forks source link

WS-2022-0167 (Medium) detected in svelte-3.45.0.tgz #10

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.45.0.tgz

Path to dependency file: /package.json

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

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

Found in HEAD commit: 395b56b03a73fb5861e3846a02ad9928e18944c4

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: svelte - 3.46.5


Step up your Open Source Security Game with Mend here