Description
The static error.html template for errors contains placeholders that are replaced without escaping the content first.
Recommendation
Update the @sveltejs/kit package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.8.3
- Patched version(s): 2.8.3
References
Related Issues
- Server secret was included in static assets and served to clients - Vulnerability
- @sveltejs/kit vulnerable to Cross-site Scripting via tracked search_params - CVE-2025-32388
- @sveltejs/kit vulnerable to XSS on dev mode 404 page - CVE-2024-53261
- Trix allows Cross-site Scripting via `javascript:` url in a link - CVE-2025-21610
- Tags:
- npm
- @sveltejs/kit
Anything's wrong? Let us know Last updated on November 25, 2024