Unhandled URIError in SvelteKit reroute crashes adapter-node
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-248.
Summary
SvelteKit versions before 2.70.4 and from 3.0.0 before 3.1.1 are affected. The reroute hook can rewrite a malformed percent-encoded pathname into a valid route, which causes an unhandled URIError during a later decoding step (CWE-248). A remote attacker who can send requests can crash an adapter-node server and deny service to other requests. CVSS 3.1 rates the issue as medium.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, the reroute hook could rewrite an invalid percent-encoded pathname into a valid route and reach a comparison that decoded the original malformed pathname outside the guarded decoding operation. The resulting unhandled URIError could crash an adapter-node server and deny service to other requests. This issue is fixed in 2.70.4 and 3.1.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sveltejs | kit | before 2.70.4; 3.0.0 to before 3.1.1 | 2.70.4, 3.1.1 | Patch available | CNA |
| — | @sveltejs/kit (npm) | 3.0.0 to before 3.1.1 | 3.1.1 | Patch available | GHSA-mw6w-2fmv-pvw3 |
| — | @sveltejs/kit (npm) | before 2.70.4 | 2.70.4 | Patch available | GHSA-mw6w-2fmv-pvw3 |
- kit Vendorsveltejs Affected before 2.70.4; 3.0.0 to before 3.1.1 Fixed in 2.70.4, 3.1.1 Patch available CNA
- @sveltejs/kit (npm) Vendor— Affected 3.0.0 to before 3.1.1 Fixed in 3.1.1 Patch available GHSA-mw6w-2fmv-pvw3
- @sveltejs/kit (npm) Vendor— Affected before 2.70.4 Fixed in 2.70.4 Patch available GHSA-mw6w-2fmv-pvw3
Remediation
Upgrade @sveltejs/kit to 2.70.4 for the 2.x line or to 3.1.1 for the 3.x line. The sources list no advisory identifiers for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA kit (sveltejs) Fixed in 2.70.4, 3.1.1
- Fix · GHSA-mw6w-2fmv-pvw3 @sveltejs/kit (npm) Fixed in 3.1.1 Advisory →
- Fix · GHSA-mw6w-2fmv-pvw3 @sveltejs/kit (npm) Fixed in 2.70.4 Advisory →
Timeline
- 2026-11-13 Threatist record created from CVE-2026-128117
- 2026-11-13 Alias added: GHSA-mw6w-2fmv-pvw3
- 2026-11-13 Fix available: npm/@sveltejs/[email protected], npm/@sveltejs/[email protected] · GHSA-mw6w-2fmv-pvw3
- 2026-11-13 CVSS score added · GHSA-mw6w-2fmv-pvw3
- 2026-11-13 Weakness changed · GHSA-mw6w-2fmv-pvw3
- 2026-11-13 7 new references · GHSA-mw6w-2fmv-pvw3
- 2026-11-13 CISA SSVC decision points changed
References
Other 7
- https://github.com/sveltejs/kit/security/advisories/GHSA-mw6w-2fmv-pvw3
- https://github.com/sveltejs/kit/pull/17620
- https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- https://github.com/sveltejs/kit/commit/7993d5ebab017cb1be898a0b1c57371c5da06557
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- https://github.com/sveltejs/kit
More sveltejs vulnerabilities
- TI-2023-13469 SvelteKit framework has Insufficient CSRF protection for CORS requests CVSS 3.1HIGH 8.8
- TI-2023-13464 SvelteKit has Insufficient Cross-Site Request Forgery Protection CVSS 3.1HIGH 8.8
- TI-2024-15660 Sending a GET or HEAD request with a body crashes SvelteKit CVSS 3.1HIGH 7.5
- TI-2024-30159 Potential mXSS vulnerability due to improper HTML escaping in svelte CVSS 3.1MEDIUM 6.1
- TI-2025-23466 SvelteKit allows XSS via tracked search_params CVSS 3.1MEDIUM 5.4
- TI-2025-13940 Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR) CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-128117 · CVE Program
- CVE-2026-128117 · NVD
- FIRST EPSS
- GHSA-mw6w-2fmv-pvw3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences