CVE-2024-23641
HIGH 7.5CVSS 3.1Sending a GET or HEAD request with a body crashes SvelteKit
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.
- Published
- 24 Jan 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-g5m6-hxpp-fc49
- Sources
- NVDJSONOSV GHSA-g5m6-hxpp-fc49JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | svelte | adapter-nodecpe:2.3:a:svelte:adapter-node:*:*:*:*:*:node.js:*:* |
>= 2.0.0, < 2.1.2 | 2.1.2 |
| NVD | svelte | adapter-nodecpe:2.3:a:svelte:adapter-node:*:*:*:*:*:node.js:*:* |
>= 3.0.0, < 3.0.3 | 3.0.3 |
| NVD | svelte | adapter-nodecpe:2.3:a:svelte:adapter-node:4.0.0:*:*:*:*:node.js:*:* |
= 4.0.0 | |
| NVD | svelte | kitcpe:2.3:a:svelte:kit:*:*:*:*:*:node.js:*:* |
>= 2.0.0, < 2.4.3 | 2.4.3 |
| OSV | npm | @sveltejs/kit | >= 2.0.0, < 2.4.3 | 2.4.3 |
| OSV | npm | @sveltejs/adapter-node | >= 2.0.0, < 2.1.2 | 2.1.2 |
| OSV | npm | @sveltejs/adapter-node | >= 3.0.0, < 3.0.3 | 3.0.3 |
| OSV | npm | @sveltejs/adapter-node | >= 4.0.0, < 4.0.1 | 4.0.1 |
References
- https://github.com/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9 · Patch, WEB
- https://github.com/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-23641 · ADVISORY
- https://github.com/sveltejs/kit · PACKAGE
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 24 Jan 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jan 2024)