Affected versions
npmsvelte
- Affected versions
- <= 5.53.4
- Fixed version
- 5.53.5
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
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.
Links
- https://github.com/advisories/GHSA-phwv-c562-gvmh
- https://github.com/sveltejs/svelte
- https://github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb87951d
- https://github.com/sveltejs/svelte/releases/tag/svelte@5.53.5
- https://github.com/sveltejs/svelte/security/advisories/GHSA-phwv-c562-gvmh
- https://nvd.nist.gov/vuln/detail/CVE-2026-27901
Credits
- paoloricciuti
- elliott-with-the-longest-name-on-github
- KarimPwnz

