CVE-2026-27121
Svelte affected by cross-site scripting via spread attributes in Svelte SSR
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
svelte performance oriented web framework. 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. This vulnerability is fixed in 5.51.5.
| CWE | CWE-79 |
| Vendor | sveltejs |
| Product | svelte |
| Published | Feb 20, 2026 |
| Last Updated | Feb 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for sveltejs svelte
Be the first to know when new unknown vulnerabilities affecting sveltejs svelte are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
sveltejs / svelte
< 5.51.5