Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-66062 EUVD-2026-54557GHSA-29g2-3rmr-qm68

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

Published Aug 7, 2026 · Updated Aug 7, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
sveltejs kit < 2.70.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @sveltejs/kit < 2.70.2 2.70.2 GHSA-29g2-3rmr-qm68

References