Vulnerability Description
Svelte performance oriented web framework. Prior to version 5.53.5, the contents of `bind:innerText` and `bind:textContent` on `contenteditable` elements were not properly escaped. This could enable HTML injection and Cross-Site Scripting (XSS) if rendering untrusted data as the binding's initial value on the server. Version 5.53.5 fixes the issue.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Svelte | Svelte | < 5.53.5 |
Related Weaknesses (CWE)
References
- https://github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb8795Patch
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.53.5Release Notes
- https://github.com/sveltejs/svelte/security/advisories/GHSA-phwv-c562-gvmhVendor Advisory
FAQ
What is CVE-2026-27901?
CVE-2026-27901 is a vulnerability with a CVSS score of 6.1 (MEDIUM). Svelte performance oriented web framework. Prior to version 5.53.5, the contents of `bind:innerText` and `bind:textContent` on `contenteditable` elements were not properly escaped. This could enable H...
How severe is CVE-2026-27901?
CVE-2026-27901 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-27901?
Check the references section above for vendor advisories and patch information. Affected products include: Svelte Svelte.