Skip to main content
← All vulnerabilities
CVE-2026-66062GHSA-29G2-3RMR-QM68

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.70.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • sveltejs kit

    fixed in 2.70.2

  • @sveltejs/kitnpm

    fixed in 2.70.2

References 3

GitHub · sveltejs/kit