Sending a GET or HEAD request with a body crashes SvelteKit
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sveltejs | kit | 2.0.0 to before 2.4.3; 2.0.0 to before 2.1.2; 3.0.0 to before 3.0.3; = 4.0.0 | 2.4.3, 2.1.2, 3.0.3 | Patch available | CNA |
| — | @sveltejs/kit (npm) | 2.0.0 to before 2.4.3 | 2.4.3 | Patch available | GHSA-g5m6-hxpp-fc49 |
| — | @sveltejs/adapter-node (npm) | 2.0.0 to before 2.1.2 | 2.1.2 | Patch available | GHSA-g5m6-hxpp-fc49 |
| — | @sveltejs/adapter-node (npm) | 3.0.0 to before 3.0.3 | 3.0.3 | Patch available | GHSA-g5m6-hxpp-fc49 |
| — | @sveltejs/adapter-node (npm) | 4.0.0 to before 4.0.1 | 4.0.1 | Patch available | GHSA-g5m6-hxpp-fc49 |
- kit Vendorsveltejs Affected 2.0.0 to before 2.4.3; 2.0.0 to before 2.1.2; 3.0.0 to before 3.0.3; = 4.0.0 Fixed in 2.4.3, 2.1.2, 3.0.3 Patch available CNA
- @sveltejs/kit (npm) Vendor— Affected 2.0.0 to before 2.4.3 Fixed in 2.4.3 Patch available GHSA-g5m6-hxpp-fc49
- @sveltejs/adapter-node (npm) Vendor— Affected 2.0.0 to before 2.1.2 Fixed in 2.1.2 Patch available GHSA-g5m6-hxpp-fc49
- @sveltejs/adapter-node (npm) Vendor— Affected 3.0.0 to before 3.0.3 Fixed in 3.0.3 Patch available GHSA-g5m6-hxpp-fc49
- @sveltejs/adapter-node (npm) Vendor— Affected 4.0.0 to before 4.0.1 Fixed in 4.0.1 Patch available GHSA-g5m6-hxpp-fc49
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:svelte:adapter-node:*:*:*:*:*:node.js:*:* | 2.0.0 to before 2.1.2; 3.0.0 to before 3.0.3 | Vulnerable | sveltejs |
| cpe:2.3:a:svelte:adapter-node:4.0.0:*:*:*:*:node.js:*:* | 4.0.0 | Vulnerable | sveltejs |
| cpe:2.3:a:svelte:kit:*:*:*:*:*:node.js:*:* | 2.0.0 to before 2.4.3 | Vulnerable | sveltejs |
- cpe:2.3:a:svelte:adapter-node:*:*:*:*:*:node.js:*:* Versions 2.0.0 to before 2.1.2; 3.0.0 to before 3.0.3 Vulnerable ·sveltejs
- cpe:2.3:a:svelte:adapter-node:4.0.0:*:*:*:*:node.js:*:* Versions 4.0.0 Vulnerable ·sveltejs
- cpe:2.3:a:svelte:kit:*:*:*:*:*:node.js:*:* Versions 2.0.0 to before 2.4.3 Vulnerable ·sveltejs
Remediation
- Fix · CNA kit (sveltejs) Fixed in 2.4.3, 2.1.2, 3.0.3
- Fix · GHSA-g5m6-hxpp-fc49 @sveltejs/kit (npm) Fixed in 2.4.3 Advisory →
- Fix · GHSA-g5m6-hxpp-fc49 @sveltejs/adapter-node (npm) Fixed in 2.1.2 Advisory →
- Fix · GHSA-g5m6-hxpp-fc49 @sveltejs/adapter-node (npm) Fixed in 3.0.3 Advisory →
- Fix · GHSA-g5m6-hxpp-fc49 @sveltejs/adapter-node (npm) Fixed in 4.0.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-23641
- 2026-10-03 Alias added: GHSA-g5m6-hxpp-fc49
References
More sveltejs Adapter-node vulnerabilities
- TI-2025-41390 SvelteKit Denial of service and possible SSRF when using prerendering CVSS 4.0HIGH 8.4
Sources
- CVE-2024-23641 · CVE Program
- CVE-2024-23641 · NVD
- FIRST EPSS
- GHSA-g5m6-hxpp-fc49 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences