SvelteKit: ReDoS (O(n^2)) in content negotiation — unauthenticated DoS via the Accept header
Description
Published to the GitHub Advisory Database
Aug 7, 2026
Reviewed
Aug 7, 2026
Last updated
Aug 7, 2026
Impact
SvelteKit is vulnerable to remote CPU-exhaustion DoS attacks via specifically-crafted
Acceptheaders. 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/kitversion 2.70.2.References