CVE-2022-25875

Medium

Description

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductSvelte
PublishedJul 12, 2022
First seenJul 12, 2022

How to fix

Update
  • svelte svelte3.49.0 or later
  • svelte3.49.0 or later

Affected products

ProductAffected versionsFixed in
svelte sveltev < 3.49.03.49.0
sveltenpmv < 3.49.03.49.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.