HTML Injection and XSS in Svelte Framework Prior to Version 5.53.5
CVE-2026-27901
5.3MEDIUM
What is CVE-2026-27901?
The Svelte performance-oriented web framework was found to have an issue whereby the contents of bind:innerText and bind:textContent for contenteditable elements were not properly escaped in versions prior to 5.53.5. This flaw could potentially allow attackers to inject HTML and execute Cross-Site Scripting (XSS) attacks if untrusted data is rendered as the binding's initial value on the server. Users are strongly advised to upgrade to version 5.53.5 or later to mitigate this risk.
Affected Version(s)
svelte < 5.53.5
