HTML Injection and XSS in Svelte Framework Prior to Version 5.53.5
CVE-2026-27901

5.3MEDIUM

Key Information:

Vendor

Sveltejs

Status
Vendor
CVE Published:
26 February 2026

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

References

CVSS V4

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.