CVE-2024-23641Svelte Adapter-node
High 7.5 No auth needed
Follow: this CVE · Svelte · Svelte Adapter-node We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 59
- Auth required
- No
- Published
- Jan 24, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Adapter-node.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @sveltejs/adapter-node |
≥ 2.0.0 < 2.1.2 |
2.1.2 |
npm install @sveltejs/adapter-node@2.1.2 |
| npm | @sveltejs/adapter-node |
≥ 3.0.0 < 3.0.3 |
3.0.3 |
npm install @sveltejs/adapter-node@3.0.3 |
| npm | @sveltejs/adapter-node |
≥ 4.0.0 < 4.0.1 |
4.0.1 |
npm install @sveltejs/adapter-node@4.0.1 |
| npm | @sveltejs/kit |
≥ 2.0.0 < 2.4.3 |
2.4.3 |
npm install @sveltejs/kit@2.4.3 |
Per OSV / GitHub Advisories (GHSA-g5m6-hxpp-fc49). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| svelte | adapter-node | ≥ 2.0.0 < 2.1.2 |
| svelte | adapter-node | ≥ 3.0.0 < 3.0.3 |
| svelte | adapter-node | 4.0.0 |
| svelte | kit | ≥ 2.0.0 < 2.4.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory