Description
A server-side rendered <textarea> with two-way bound value does not have its value correctly escaped in the rendered HTML.
Recommendation
Update the svelte package to the latest compatible version. Followings are version details:
- Affected version(s): >= 3.0.0, < 3.59.2
- Patched version(s): 3.59.2
References
Could your website be exposed too?
SmartScanner can check your website for svelte is vulnerable to XSS with textarea bind:value and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent` - CVE-2026-27901
- Read the Docs vulnerable to Cross-Site Scripting (XSS) - Vulnerability
- Svelte Vulnerable to XSS via DOM Clobbering of Internal Framework State - CVE-2026-42573
- @tdurieux/anonymous_github Vulnerable to XSS via Unsanitized GitHub Repository Content Rendering in Anonymous GitHub Ori - Vulnerability
You might also like:
See something that needs correcting? Let us knowUpdated January 16, 2026


