CVE-2026-27901 PUBLISHED

Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`

Assigner: GitHub_M
Reserved: 24.02.2026 Published: 26.02.2026 Updated: 26.02.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
CVSS Score: 5.3

Product Status

Vendor sveltejs
Product svelte
Versions
  • Version < 5.53.5 is affected

References

Problem Types

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE