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—
Product
Svelte
PublishedJul 12, 2022
First seenJul 12, 2022
How to fix
Update
- svelte svelte3.49.0 or later
- svelte3.49.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| svelte svelte | v < 3.49.0 | 3.49.0 |
| sveltenpm | v < 3.49.0 | 3.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.