Home / sveltejs / kit / CVE-2024-53261
CVE-2024-53261: is it exploited, and which versions of sveltejs kit are affected and fixed?
CVE-2024-53261 is a cross-site scripting (XSS) vulnerability in sveltejs kit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: @sveltejs/kit before 2.8.3 (GitHub advisory GHSA-rjjv-87mx-6x3h). Fixed in 2.8.3 (GitHub advisory GHSA-rjjv-87mx-6x3h). Severity: Low (2.0, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:24 UTC.
What is CVE-2024-53261?
Cross-Site Scripting attack (XSS) on dev mode 404 page in SvelteKit
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.
From the CVE record by GitHub_M, last updated November 25, 2024, 20:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| sveltejs | kit | < 2.8.3 |
As the CVE record by GitHub_M states it, last updated November 25, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @sveltejs/kit | < 2.8.3 | 2.8.3 | GHSA-rjjv-87mx-6x3h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 22, 2025. Summary: @sveltejs/kit vulnerable to XSS on dev mode 404 page.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| svelte | sveltekit | before 2.8.3 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:08 UTC.
How severe is CVE-2024-53261?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.0 | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N | GitHub_M |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-53261 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 25, 2024)
- EPSS
- 0.35% probability of exploitation activity in the next 30 days, percentile 30.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/sveltejs/kit/security/advisories/GHSA-rjjv-87mx-6x3h x_refsource_CONFIRM
- https://github.com/sveltejs/kit/commit/d338d4635a7fd947ba5112df6ee632c4a0979438 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 19, 2024
- Published
- November 25, 2024, 19:15 UTC
- CVE record updated
- November 25, 2024, 20:04 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 08:08 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:24 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect kit?
- Nov 13, 2026CVE-2026-128123 sveltejs kit: uncaught exception (crash)
- Nov 13, 2026CVE-2026-128122 sveltejs kit: cross-site scripting (XSS)
- Nov 13, 2026CVE-2026-128121 sveltejs kit: improper output encoding
- Nov 13, 2026CVE-2026-128120 sveltejs kit: denial of service through slow algorithm
- Nov 13, 2026CVE-2026-128119 sveltejs kit: incorrect authorization
- Nov 13, 2026CVE-2026-128118 sveltejs kit: information disclosure
- Nov 13, 2026CVE-2026-128117 sveltejs kit: uncaught exception (crash)
- Nov 13, 2026CVE-2026-128116 sveltejs kit: cross-site scripting (XSS)
Questions about CVE-2024-53261
Is CVE-2024-53261 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.35% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of sveltejs kit are affected by CVE-2024-53261?
@sveltejs/kit before 2.8.3, per the GitHub advisory GHSA-rjjv-87mx-6x3h. The tables above give every range the sources list.
Which version fixes CVE-2024-53261?
2.8.3, per the GitHub advisory GHSA-rjjv-87mx-6x3h. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-53261?
Low (2.0, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-53261?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.