# CVE-2024-23641: Sending a GET or HEAD request with a body crashes SvelteKit

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-24T14:22:22.000Z
- Modified: 2026-09-10T03:50:00.238Z
- Also known as: GHSA-g5m6-hxpp-fc49
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

SvelteKit is a web development kit. In SvelteKit 2, sending a GET request with a body eg `{}` to a built and previewed/hosted sveltekit app throws `Request with GET/HEAD method cannot have body.` and crashes the preview/hosting. After this happens, one must manually restart the app. `TRACE` requests will also cause the app to crash. Prerendered pages and SvelteKit 1 apps are not affected. `@sveltejs/adapter-node` versions 2.1.2, 3.0.3, and 4.0.1 and `@sveltejs/kit` version 2.4.3 contain a patch for this issue.

(As written by CVE List.)

## Affected

- sveltejs kit: >= 2.0.0, < 2.4.3; >= 2.0.0, < 2.1.2; >= 3.0.0, < 3.0.3; = 4.0.0
- @sveltejs/kit (npm): from 2.0.0 before 2.4.3
- @sveltejs/adapter-node (npm): from 2.0.0 before 2.1.2; from 3.0.0 before 3.0.3; from 4.0.0 before 4.0.1
- svelte adapter-node: from 2.0.0 before 2.1.2; from 3.0.0 before 3.0.3; 4.0.0
- svelte kit: from 2.0.0 before 2.4.3

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49> (exploit, vendor-advisory, web)
- <https://github.com/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-23641> (advisory)
- <https://github.com/sveltejs/kit> (package)

## Sources

- CVE List: [CVE-2024-23641](https://www.cve.org/CVERecord?id=CVE-2024-23641), CVE Terms of Use, modified 2024-11-13
- GitHub Advisory Database: [GHSA-g5m6-hxpp-fc49](https://github.com/advisories/GHSA-g5m6-hxpp-fc49), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-23641](https://nvd.nist.gov/vuln/detail/CVE-2024-23641), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-23641 · Whole record: https://cve.day/CVE-2024-23641.json · Rebuilt by cve.day 2026-11-25T22:58:36.319Z
