CVE-2024-23641 json
Sending a GET or HEAD request with a body crashes SvelteKit
published 2024-01-24 2 y ago modified 2026-09-10 1 mo ago also GHSA-g5m6-hxpp-fc49 , EUVD-2024-0352
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @sveltejs/kit 2.4.3
- npm @sveltejs/adapter-node 2.1.2, 3.0.3, 4.0.1
- svelte adapter-node 2.1.2, 3.0.3
- svelte kit 2.4.3
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 23 mo ago
Exploit prediction
0.76% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @sveltejs/kit | >=2.0.0, <2.4.3 |
2.4.3 |
| npm | @sveltejs/adapter-node | >=2.0.0, <2.1.2 >=3.0.0, <3.0.3 >=4.0.0, <4.0.1 |
2.1.2 3.0.3 4.0.1 |
Affected products
- sveltejs kit
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9
web, patch
-
github.com
/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-23641
advisory
-
github.com
/sveltejs/kit
package
Sources
- CVE List CVE-2024-23641
- GitHub Advisory GHSA-g5m6-hxpp-fc49
- NVD CVE-2024-23641
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.