GHSA-phwv-c562-gvmhMedium

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

Published
February 26, 2026
Last Modified
March 11, 2026

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products1

  • npm/svelte:<= 5.53.4

🔗 References (5)