svelte
Affected
- introduced
0, fixed5.51.5(semver)
Fixed versions
5.51.5
Fix
- Fixed version
5.51.5npm install [email protected]
Advisory
Also known as: CVE-2026-27121
Svelte affected by cross-site scripting via spread attributes in Svelte SSR
Versions of svelte prior to 5.51.5 are vulnerable to cross-site scripting (XSS) during server-side rendering. When using spread syntax to render attributes from untrusted data, event handler properties are included in the rendered HTML output. If an application spreads user-controlled or external data as element attributes, an attacker can inject malicious event handlers that execute in victims' browsers.
Medium Basis: The source's own band: MODERATE
0, fixed 5.51.5 (semver)5.51.5
5.51.5npm 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