CVE-2022-25875Published Jul 12, 2022 · Jul 12Updated Nov 11
Cross-site Scripting (XSS)
svelte
Medium5.4Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| svelte npm |
|
|
Original 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.
From the CVE record · snyk