๐Ÿ” CVE Alert

CVE-2026-42599

UNKNOWN 0.0

Cross-site scripting via spread attributes in Svelte SSR

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

Svelte is a performance oriented web framework. Prior to version 5.55.7, 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. Note that this vulnerability only triggers if the user's browser has JavaScript enabled but Svelte's hydration mechanism does not reach the vulnerable element before the event fires. This issue has been patched in version 5.55.7.

CWE CWE-79
Vendor sveltejs
Product svelte
Published Jun 9, 2026
Last Updated Jun 9, 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.55.7

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/sveltejs/svelte/security/advisories/GHSA-pr6f-5x2q-rwfp github.com: https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7