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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/sveltejs/svelte/security/advisories/GHSA-phwv-c562-gvmh vendor-advisory
- https://github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb87951d patch
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.53.5 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2442918 issue-tracking
- www.cve.org
- github.com product