CVE-2026-40074

MEDIUM CVSS 4.0: 6.3 EPSS 0.37%
Updated Oct 27, 2026
Sveltekit
Parameter Value
CVSS 6.3 (MEDIUM)
Affected Versions before 2.57.1
Fixed In 2.57.1
Type CWE-755 (Improper Handling of Exceptional Conditions)
Vendor Sveltekit
Public PoC No

SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to 2.57.1, redirect, when called from inside the handle server hook with a location parameter containing characters that are invalid in a HTTP header, will cause an unhandled TypeError. This could result in DoS on some platforms, especially if the location passed to redirect contains unsanitized user input.

This vulnerability is fixed in 2.57.1.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Svelte Kit
cpe:2.3:a:svelte:kit:*:*:*:*:*:node.js:*:*
— 2.57.1