CVE-2026-27901: Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`
Vulnerability summary
CVE-2026-27901 is a medium (CVSS 6.1) vulnerability in svelte. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 17.4% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 26-02-2026PublishedVulnerability first disclosed.
- 26-02-2026Last modifiedVulnerability information updated.
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 metrics
6 scores · 5 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
- NVDNIST5.3MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
Decrease -0.13 pp
From 0.39% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard5 products
- langfuse-2-workerAll versions (No fix recorded)
- langfuse-3-worker< 3.163.0-r0
- langfuse-fips-2-workerAll versions (No fix recorded)
- langfuse-fips-3-worker< 3.163.0-r0
- langfuse-fips-3.152-workerAll versions (No fix recorded)
Npm1 product
- svelte< 5.53.5
Svelte1 product
- svelte< 5.53.5 | 5.53.5
Sveltejs1 product
- svelte< 5.53.5
Wolfi1 product
- langfuse-3-worker< 3.163.0-r0
5 vendors · 9 products
References
7 links- github.com/sveltejs/svelte/security/advisories/GHSA-phwv-c562-gvmhX Refsource CONFIRMAdvisoryWEBVendor Advisory
- github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb87951dX Refsource MISCFIXWEBPatch
- github.com/sveltejs/sveltePACKAGE