Skip to main content
← All vulnerabilities
CVE-2022-25875GHSA-WV8Q-R932-8HC7SNYK-JS-SVELTE-2931080

Cross-site Scripting (XSS)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.49.0
None on Exploit-DB, Metasploit or GitHub

Summary

The package svelte before 3.49.0 are 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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a svelte

    fixed in 3.49.0

  • sveltenpm

    fixed in 3.49.0

References 3

snyk.io

GitHub · sveltejs/svelte