Cross-site scriptingin sveltejs kit.
No public exploit found; not on exploited lists.
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. The static error.html template for errors contains placeholders that are replaced without escaping the content first. error.html is the page that is rendered when everything else fails. It can contain the following placeholders: %sveltekit.status% · the HTTP status, and %sveltekit.error.message% · the error message. This leads to possible injection if an app explicitly creates an error with a message that contains user controlled content. Only applications where user provided input is used in the `Error` message will be vulnerable, so the vast majority of applications will not be vulnerable This issue has been addressed in version 2.8.3 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
- Upgrade kit to 2.8.3 or later.
- Upgrade @sveltejs/kit (npm) to 2.8.3 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 19 Nov 2024CVE ID reserved by GitHub_M.
- 25 Nov 2024Published in the CVE List.
- 25 Nov 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other kit vulnerabilities
Same weakness: Cross-site scripting
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- kit.svelte.dev x_refsource_MISC
Patchminder. CVE-2024-53262: Cross-site scripting in sveltejs kit. https://patchminder.com/cve/cve-2024-53262/ (accessed 5 December 2026).