CVE-2026-66062
CVE-2026-66062 · SvelteKit: ReDoS (O(n^2)) in content negotiation — unauthenticated DoS via the Accept header
This page contains facts from public vulnerability sources. Check the original advisory before updating.
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to 2.70.2, the content negotiation header parser used by SvelteKit's request handling (for headers such as Accept) uses a regular expression vulnerable to quadratic backtracking, so a maliciously crafted header value can cause excessive CPU consumption and degrade or deny service. Version 2.70.2 fixes the issue.
CVSS 5.3 · Medium · EPSS 0.5% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
kit
- Versions
- < 2.70.2: Affected
No fix published
@sveltejs/kit npm
- Affected ranges
- SEMVER: < 2.70.2
Update to 2.70.2