CVE Explorer
CVE-2026-40074
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"kit","vendor":"sveltejs","versions":[{"status":"affected","version":"< 2.57.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:754eb3e9b179ee69e347d2dbbd6bf75e61d45cdc56fbc7cff797afd65e0e33a1 · sha256:53aaa454f601862d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:754eb3e9b179ee69e347d2dbbd6bf75e61d45cdc56fbc7cff797afd65e0e33a1 · sha256:53aaa454f601862d… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-755","description":"CWE-755: Improper Handling of Exceptional Conditions","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:754eb3e9b179ee69e347d2dbbd6bf75e61d45cdc56fbc7cff797afd65e0e33a1 · sha256:53aaa454f601862d… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/sveltejs/kit/commit/10d7b44425c3d9da642eecce373d0c6ef83b4fcd","tags":["x_refsource_MISC"],"url":"https://github.com/sveltejs/kit/commit/10d7b44425c3d9da642eecce373d0c6ef83b4fcd"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:754eb3e9b179ee69e347d2dbbd6bf75e61d45cdc56fbc7cff797afd65e0e33a1 · sha256:53aaa454f601862d… · /containers/cna/references/1
{"name":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.57.1","tags":["x_refsource_MISC"],"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@2.57.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:754eb3e9b179ee69e347d2dbbd6bf75e61d45cdc56fbc7cff797afd65e0e33a1 · sha256:53aaa454f601862d… · /containers/cna/references/2
{"name":"https://github.com/sveltejs/kit/security/advisories/GHSA-3f6h-2hrp-w5wx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-3f6h-2hrp-w5wx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:754eb3e9b179ee69e347d2dbbd6bf75e61d45cdc56fbc7cff797afd65e0e33a1 · sha256:53aaa454f601862d… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.