svelte
Affected
- introduced
0, fixed3.49.0(semver)
Fixed versions
3.49.0
Fix
- Fixed version
3.49.0npm install [email protected]
Advisory
Also known as: CVE-2022-25875, SNYK-JS-SVELTE-2931080
Svelte vulnerable to XSS when using objects during server-side rendering
The package svelte before 3.49.0 is 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.
Medium Basis: The source's own band: MODERATE
0, fixed 3.49.0 (semver)3.49.0
3.49.0npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0