Svelte has a potential mXSS vulnerability due to improper HTML escaping
- Severity:
- Medium
Description
A potential XSS vulnerability exists in Svelte for versions prior to 4.2.19.
Recommendation
Update the svelte package to the latest compatible version. Followings are version details:
- Affected version(s): < 4.2.19
- Patched version(s): 4.2.19
References
Related Issues
- Bootstrap Cross-Site Scripting (XSS) vulnerability for data-* attributes - CVE-2024-6485
- react-native-keys insecurely stores encryption cipher and Base64 chunks - CVE-2025-45001
- nuxt vulnerable to Cross-site Scripting in navigateTo if used after SSR - CVE-2024-34343
- Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace] - CVE-2025-27793
- Tags:
- npm
- svelte
Anything's wrong? Let us know Last updated on August 30, 2024