Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`
Description
Published by the National Vulnerability Database
Feb 26, 2026
Published to the GitHub Advisory Database
Feb 26, 2026
Reviewed
Feb 26, 2026
Last updated
Mar 11, 2026
The contents of
bind:innerTextandbind:textContentoncontenteditableelements 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.References