CVE-2026-27901CWE-79

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

Medium · published February 26, 2026

CVSS v4.0
5.3
EPSS
0%
Percentile
32.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.3 · MEDIUM
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
EPSS
0.00396 · 32.7th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-02-26T00:57Z
EPSS history
Timeline
  • 26 FEB 00:57Z
    Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`
    cvelistv5