Skip to main content
VulnerabilityPublished

CVE-2026-27901: sveltejs svelte · Cross-site Scripting

Affects sveltejs svelteSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
sveltejssvelteAffected
  • <5.53.5
Fixed in
  • 5.53.5
GitHubsveltejs/sveltepkg:github/sveltejs/svelteOther threatsAffected
  • <5.53.5
Fixed in
  • 5.53.5

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.

References

Community reviews

Loading reviews…