HTML Injection Vulnerability in Svelte Web Framework
CVE-2026-27902
5.3MEDIUM
What is CVE-2026-27902?
Svelte, a performance-oriented web framework, had a vulnerability where errors from the 'transformError' function were not escaped correctly before being included in HTML outputs. This oversight raised the risk of HTML injection and XSS attacks if an attacker manipulated the content returned from 'transformError'. Users are advised to update to version 5.53.5 or above to mitigate these security risks.
Affected Version(s)
svelte >= 5.53.0, < 5.53.5
