CVE-2026-27901: sveltejs svelte · Cross-site Scripting
Affects sveltejs svelteSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 5.53.5 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.53.5
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade svelte and sveltejs/svelte to 5.53.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| sveltejssvelte | Affected
| Fixed in
|
GitHubsveltejs/sveltepkg:github/sveltejs/svelteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Organizations should immediately upgrade all Svelte dependencies to version 5.53.5 or later to ensure the vulnerability is patched. Review all uses of bind:innerText and bind:textContent on contenteditable elements, especially where untrusted data is bound, and implement additional input validation and sanitization on the server side. Employ Content Security Policy (CSP) headers to restrict script execution and reduce the impact of potential XSS attacks. Conduct thorough code audits and penetration testing focused on client-side bindings and dynamic content rendering. Educate developers on secure coding practices related to data binding and escaping in reactive frameworks. Monitor application logs and user reports for suspicious activity indicative of attempted XSS exploitation. Consider implementing runtime application self-protection (RASP) solutions to detect and block injection attempts in real time.
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.