CVE-2022-25875

published 12 Jul 2022 · updated 17 Sep 2024

Cross-site Scripting (XSS)

5.4MediumCVSS 5.4EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.49.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<3.49.03.49.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-25875 severity on Zeptric[![CVE-2022-25875](https://zeptric.io/badge/cve/CVE-2022-25875.svg)](https://zeptric.io/cve/CVE-2022-25875)