Skip to main content
← All vulnerabilities
CVE-2026-27901GHSA-PHWV-C562-GVMH

Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.53.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • sveltejs svelte

    fixed in 5.53.5

  • sveltenpm

    fixed in 5.53.5

References 3

GitHub · sveltejs/svelte