Skip to content
Fencer Intel
high 7.5

CVE-2024-23641 json

Sending a GET or HEAD request with a body crashes SvelteKit

published 2y ago modified 2mo ago also EUVD-2024-0352 , GHSA-g5m6-hxpp-fc49

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

Is CVE-2024-23641 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.76% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-11).

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
GitHub 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

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

Sources

Fencer Intel 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.

The maintainers of sveltejs/kit published their own advisory on GitHub. Reviewed sources take precedence over it.