CVE-2023-29008
SvelteKit framework has Insufficient CSRF protection for CORS requests
The SvelteKit framework offers developers an option to create simple REST APIs. This is done by defining a `+server.js` file, containing endpoint handlers for different HTTP methods. SvelteKit provides out-of-the-box cross-site request forgery (CSRF) protection to its users. The protection is implemented at `kit/src/runtime/server/respond.js`. While the implementation does a sufficient job of mitigating common CSRF attacks, the protection can be bypassed in versions prior to 1.15.2 by simply specifying an upper-cased `Content-Type` header value. The browser will not send uppercase characters, but this check does not block all expected CORS requests. If abused, this issue will allow malicious requests to be submitted from third-party domains, which can allow execution of operations within the context of the victim's session, and in extreme scenarios can lead to unauthorized access to users’ accounts. This may lead to all POST operations requiring authentication being allowed in the following cases: If the target site sets `SameSite=None` on its auth cookie and the user visits a malicious site in a Chromium-based browser; if the target site doesn't set the `SameSite` attribute explicitly and the user visits a malicious site with Firefox/Safari with tracking protections turned off; and/or if the user is visiting a malicious site with a very outdated browser. SvelteKit 1.15.2 contains a patch for this issue. It is also recommended to explicitly set `SameSite` to a value other than `None` on authentication cookies especially if the upgrade cannot be done in a timely manner.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.373% · 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-19T19:48:17.831Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 8.8 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T19:04:55.625Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T19:48:17.831Z | CISA KEV |
| cvss | verified | 2026-11-19T19:04:55.625Z | CVE Program |
| epss | verified | 2026-11-19T20:07:59.062Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:45.862Z | OSV |
| affected | verified | 2026-11-19T19:04:55.625Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:04:55.625Z | CVE Program |
Affected versions and configuration
sveltejs kit; default status: unknown: < 1.15.2 [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": "< 1.15.2"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/sveltejs/kit/security/advisories/GHSA-gv7g-x59x-wf8f",
"name": "https://github.com/sveltejs/kit/security/advisories/GHSA-gv7g-x59x-wf8f",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/sveltejs/kit/commit/ba436c6685e751d968a960fbda65f24cf7a82e9f",
"name": "https://github.com/sveltejs/kit/commit/ba436c6685e751d968a960fbda65f24cf7a82e9f",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-02T14:00:14.369Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2023-29008",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-02-10T16:26:20.753573Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-02-10T16:26:25.826Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-gv7g-x59x-wf8f",
"aliases": [
"CVE-2023-29008"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.15.2"
}
]
}
],
"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/2023/04/GHSA-gv7g-x59x-wf8f/GHSA-gv7g-x59x-wf8f.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/sveltejs/kit/security/advisories/GHSA-gv7g-x59x-wf8f",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29008",
"type": "ADVISORY"
},
{
"url": "https://github.com/sveltejs/kit/commit/ba436c6685e751d968a960fbda65f24cf7a82e9f",
"type": "WEB"
},
{
"url": "https://github.com/sveltejs/kit",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-352",
"CWE-918"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2023-04-06T17:15:00Z",
"github_reviewed_at": "2023-04-07T19:23:31Z"
}
}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 | 1.15.2 | 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:04:55.625ZArchived source JSON
Source publication: 2023-04-06T16:36:50.972Z
Source modification: 2025-02-10T16:26:25.826ZDocument fingerprint
cdafe6d595b1c510ded85bac9039eae6b20aa843e6ec54a7e7cb3493cff126d1 - FIRST EPSSConsulted: 2026-11-19T20:07:59.062ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
ab2159d9e4ab5bedec96200c7d64d5b87e5cf274464a53717f608c037364a976 - CISA KEVConsulted: 2026-11-19T19:48:17.831ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T19:03:45.862ZArchived source JSON
Source publication: 2023-04-07T19:23:31.000Z
Source modification: 2023-11-08T04:12:15.924ZDocument fingerprint
a12d6af1728f1809b8855de2e62957934018507a3cec0eecc92aa704c0eaadf5
Official status history
- UNKNOWN → PUBLISHED · · evidence