Read the docs

Unhandled URIError in SvelteKit reroute crashes adapter-node

Priority LOW 27CWE-248Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00477 41st percentileScored 2026-11-16
Fix Fixed kit (sveltejs): 2.70.4, 3.1.1@sveltejs/kit (npm): 3.1.1, 2.70.4

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

VendorProductAffected versionsFixed inStatusSource
sveltejskitbefore 2.70.4; 3.0.0 to before 3.1.12.70.4, 3.1.1Patch availableCNA
—@sveltejs/kit (npm)3.0.0 to before 3.1.13.1.1Patch availableGHSA-mw6w-2fmv-pvw3
—@sveltejs/kit (npm)before 2.70.42.70.4Patch availableGHSA-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

  1. 2026-11-13 Threatist record created from CVE-2026-128117
  2. 2026-11-13 Alias added: GHSA-mw6w-2fmv-pvw3
  3. 2026-11-13 Fix available: npm/@sveltejs/[email protected], npm/@sveltejs/[email protected] · GHSA-mw6w-2fmv-pvw3
  4. 2026-11-13 CVSS score added · GHSA-mw6w-2fmv-pvw3
  5. 2026-11-13 Weakness changed · GHSA-mw6w-2fmv-pvw3
  6. 2026-11-13 7 new references · GHSA-mw6w-2fmv-pvw3
  7. 2026-11-13 CISA SSVC decision points changed

References

  • 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
See all 58 →

Sources