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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | svelte | unspecified – < 3.49.0 | 3.49.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | svelte | < 3.49.0 | 3.49.0 | GHSA-wv8q-r932-8hc7 |