Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40074: CWE-755: Improper Handling of Exceptional Conditions in sveltejs kit

0
Medium
VulnerabilityCVE-2026-40074cvecve-2026-40074cwe-755
Published: Fri Apr 10 2026 (04/10/2026, 16:26:07 UTC)
Source: CVE Database V5
Vendor/Project: sveltejs
Product: kit

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/18/2026, 14:23:33 UTC

Technical Analysis

SvelteKit, a web application framework, had an improper handling of exceptional conditions (CWE-755) in its redirect function when used inside the handle server hook. If the location parameter passed to redirect contains characters invalid in HTTP headers, it triggers an unhandled TypeError, potentially causing a denial of service. This affects all versions prior to 2.57.1. The vulnerability has a CVSS 4.0 base score of 6.3, indicating medium severity. No known exploits are reported in the wild. The vulnerability is fixed in SvelteKit version 2.57.1.

Potential Impact

The vulnerability can cause a denial of service on affected platforms by triggering an unhandled TypeError when invalid characters are passed to the redirect function inside the handle server hook. This is especially risky if the location parameter includes unsanitized user input, allowing attackers to disrupt service availability. There is no indication of remote code execution or data breach. No known exploits have been reported.

Mitigation Recommendations

Upgrade SvelteKit to version 2.57.1 or later, where this vulnerability is fixed. Since the vendor advisory confirms the fix in 2.57.1, applying this official update is the recommended remediation. Patch status is confirmed by the vendor advisory. No additional mitigation steps are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-09T00:39:12.205Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69d9d9721cc7ad14da3f8648

Added to database: 4/11/2026, 5:17:38 AM

Last enriched: 4/18/2026, 2:23:33 PM

Last updated: 5/26/2026, 6:53:56 PM

Views: 75

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses