Cross-Site Scripting (XSS) Vulnerability in Svelte Package (Versions before 3.49.0)

Cross-Site Scripting (XSS) Vulnerability in Svelte Package (Versions before 3.49.0)

CVE-2022-25875 · MEDIUM Severity

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

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.

Learn more about our Cis Benchmark Audit For Server Software.