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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.350% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T20:18:55.078Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 2 · published by GitHub_MCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T19:05:12.663Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T20:18:55.078Z | CISA KEV |
| cvss | verified | 2026-11-19T19:05:12.663Z | CVE Program |
| epss | verified | 2026-11-19T20:08:04.062Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:45.862Z | OSV |
| affected | verified | 2026-11-19T19:05:12.663Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:05:12.663Z | CVE Program |
Affected versions and configuration
sveltejs kit; default status: unknown: < 2.8.3 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "sveltejs",
"product": "kit",
"versions": [
{
"status": "affected",
"version": "< 2.8.3"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-53261",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-11-25T20:01:35.408501Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-11-25T20:04:36.967Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-rjjv-87mx-6x3h",
"aliases": [
"CVE-2024-53261"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.8.3"
}
]
}
],
"package": {
"name": "@sveltejs/kit",
"purl": "pkg:npm/%40sveltejs/kit",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-rjjv-87mx-6x3h/GHSA-rjjv-87mx-6x3h.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/sveltejs/kit/security/advisories/GHSA-rjjv-87mx-6x3h",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-53261",
"type": "ADVISORY"
},
{
"url": "https://github.com/sveltejs/kit/pull/13039",
"type": "WEB"
},
{
"url": "https://github.com/sveltejs/kit/commit/d338d4635a7fd947ba5112df6ee632c4a0979438",
"type": "WEB"
},
{
"url": "https://github.com/sveltejs/kit",
"type": "PACKAGE"
},
{
"url": "https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.8.3",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": "2024-11-25T20:15:10Z",
"github_reviewed_at": "2024-11-25T15:33:19Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | @sveltejs/kit | Not a distribution channel | 2.8.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T19:05:12.663ZArchived source JSON
Source publication: 2024-11-25T19:15:28.233Z
Source modification: 2024-11-25T20:04:36.967ZDocument fingerprint
48b69e5a993d18119f2466b0a41cd6159a22431b815735c69b5dcb72069df235 - CISA KEVConsulted: 2026-11-19T20:18:55.078ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T20:08:04.062ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
d510541c5df8080adf4130dacb50fb922f8db7f210bdaaab7658dcb31e35e018 - OSVConsulted: 2026-11-19T19:03:45.862ZArchived source JSON
Source publication: 2024-11-25T15:33:19.000Z
Source modification: 2025-01-22T20:54:21.000ZDocument fingerprint
a12d6af1728f1809b8855de2e62957934018507a3cec0eecc92aa704c0eaadf5
Official status history
- UNKNOWN → PUBLISHED · · evidence