patchminder
No public exploit found CVE-2024-53261

Cross-site scriptingin sveltejs kit.

Published 25 Nov 2024 · Updated 25 Nov 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Low 2.0
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.4% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.8.3 or later
In plain words

SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. "Unsanitized input from *the request URL* flows into `end`, where it is used to render an HTML page returned to the user. This may result in a Cross-Site Scripting attack (XSS)." The files `packages/kit/src/exports/vite/dev/index.js` and `packages/kit/src/exports/vite/utils.js` both contain user controllable data which under specific conditions may flow to dev mode pages. There is little to no expected impact. The Vite development is not exposed to the network by default and even if someone were able to trick a developer into executing an XSS against themselves, a development database should not have any sensitive data. None the less this issue has been addressed in version 2.8.3 and all users are advised to upgrade.

What to do now
  • Upgrade kit to 2.8.3 or later.
  • Upgrade @sveltejs/kit (npm) to 2.8.3 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
kit
before 2.8.3
2.8.3
CVE record
@sveltejs/kit (npm)
before 2.8.3
2.8.3
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 19 Nov 2024
    CVE ID reserved by GitHub_M.
  2. 25 Nov 2024
    Published in the CVE List.
  3. 25 Nov 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

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.

Related

Other kit vulnerabilities

Same weakness: Cross-site scripting

All CWE-79 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-53261: Cross-site scripting in sveltejs kit. https://patchminder.com/cve/cve-2024-53261/ (accessed 5 December 2026).