CVE-2022-25875 MEDIUM

CVE-2022-25875: Cross-site Scripting (XSS)

Vendor N/A
Product svelte
Published July 12, 2022
Last update September 17, 2024

CVSS base score

5.4/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 12, 2022 CVE published
September 17, 2024 Record updated