ADVISORIES

GitHub Advisory Database

GHSA-29g2-3rmr-qm68

SvelteKit: ReDoS (O(n^2)) in content negotiation — unauthenticated DoS via the Accept header

Moderate CVE-2026-66062

Details

Impact

SvelteKit is vulnerable to remote CPU-exhaustion DoS attacks via specifically-crafted Accept headers. The impact is mitigated by default header length limits on most platforms, but in the case of raised or absent limits a denial of service is possible.

Patches

The vulnerability is patched in @sveltejs/kit version 2.70.2.

Affected packages

EcosystemPackageAffected versions
npm@sveltejs/kit
All versions before 2.70.2 (fixed in 2.70.2)

References