UNKNOWN npm
Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`
GHSA-phwv-c562-gvmh · CVE-2026-27901
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
References
- WEB https://github.com/sveltejs/svelte/security/advisories/GHSA-phwv-c562-gvmh
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-27901
- WEB https://github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb87951d
- PACKAGE https://github.com/sveltejs/svelte
- WEB https://github.com/sveltejs/svelte/releases/tag/svelte@5.53.5
Ready to move
Start Securing
Free, no credit card | First findings in minutes