Vulnerability library
Security checkJanuary 16, 2026

svelte is vulnerable to XSS with textarea bind:value

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmsvelte

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A server-side rendered <textarea> with two-way bound value does not have its value correctly escaped in the rendered HTML.

Recommendation

Update the svelte package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 3.0.0, < 3.59.2
  • Patched version(s): 3.59.2

References

Could your website be exposed too?

SmartScanner can check your website for svelte is vulnerable to XSS with textarea bind:value and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 16, 2026