CVE-2026-66062 SvelteKit: ReDoS (O(n^2)) in content negotiation — unauthenticated DoS via the Accept header
MediumCVSS 5.3
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| sveltejs @sveltejs/kit(npm) | < 2.70.2; <= 2.70.1 | 2.70.2 | Fixed |
| sveltejs @sveltejs/kit | = < 2.70.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sveltejs @sveltejs/kit | = < 2.70.2 | No fix listed |
| sveltejs @sveltejs/kit(npm) | <= 2.70.1 | No fix listed |
| sveltejs @sveltejs/kit(npm) | < 2.70.2 | 2.70.2 |
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-29g2-3rmr-qm68 vendor-advisory
- https://github.com/sveltejs/kit/commit/82712fc02c24b1dcf5b25d7a52129cd8455f04f5 patch
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.70.2
- github.com
- github.com product
- ENISA EUVD EUVD-2026-54557 third-party-advisory