Skip to content

CVE-2026-27901 Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`

MediumCVSS 5.3 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

4 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/rhdesktop/rh-podman-desktop-ext-bootc-rhel10(Red Hat podman_desktop 0) All versions No fix listed No fix yet
npm svelte(npm) < 5.53.5; <= 5.53.4 5.53.5 Fixed
svelte < 5.53.5; = 5.53.5 5.53.5 Fixed
sveltejs svelte = < 5.53.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
sveltejs svelte = < 5.53.5 No fix listed
npm svelte(npm) <= 5.53.4 No fix listed
redhat/rhdesktop/rh-podman-desktop-ext-bootc-rhel10(Red Hat:podman_desktop:0) All versions No fix listed
svelte < 5.53.5 5.53.5
svelte = 5.53.5 No fix listed
npm svelte(npm) < 5.53.5 5.53.5

References