svelte is vulnerable to XSS with textarea bind:value
A server-side rendered <textarea> with two-way bound value does not have its value correctly escaped in the rendered HTML.
A server-side rendered <textarea> with two-way bound value does not have its value correctly escaped in the rendered HTML.
An XSS vulnerability exists in Svelte 5.46.0-2 resulting from improper escaping of hydratable keys. If these keys incorporate untrusted user input, arbitrary JavaScript can be injected into server-rendered HTML.
A potential XSS vulnerability exists in Svelte for versions prior to 4.2.19.
The package svelte before 3.49.0 is vulnerable to Cross-site Scripting (XSS) due to improper input sanitization and to improper escape of attributes when using objects during SSR (Server-Side Rendering). Exploiting this vulnerability is possible via objects with a custom toString() function.