TanStack Router
TanStack Router: Unauthenticated reflected XSS in TanStack Start server-function responses
Edge device · Router / network deviceproduct or title mentions "router" (medium confidence)
TanStack Router is a client-first, server-capable, fully type-safe router and full-stack framework for the web. From 1.143.12 until 1.169.39 for @tanstack/start-server-core, 1.168.60 for @tanstack/react-start, 1.168.57 for @tanstack/solid-start, and 1.168.56 for @tanstack/vue-start, an unauthenticated attacker can place non-public fields in a server-function request payload so that attacker-controlled middleware state reaches the error path and a response-shaped object is accepted as an HTTP response. A crafted server-function URL can therefore return attacker-controlled HTML from the application's origin; when a visitor opens the URL, the injected script can access same-origin data and issue requests with the visitor's authority. This issue is fixed in @tanstack/start-server-core 1.169.39, @tanstack/react-start 1.168.60, @tanstack/solid-start 1.168.57, and @tanstack/vue-start 1.168.56.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < release-2026-09-30-1747
- >= 1.143.12, < 1.168.60
Fixed in 1.168.60
- >= 1.143.12, < 1.168.57
Fixed in 1.168.57
- >= 1.143.12, < 1.169.39
Fixed in 1.169.39
- >= 1.143.12, < 1.168.56
Fixed in 1.168.56
Mitigation
Upgrade react-start to 1.168.60 or later.
Upgrade solid-start to 1.168.57 or later.
Upgrade start-server-core to 1.169.39 or later.
Upgrade vue-start to 1.168.56 or later.
References
- Vendor advisory github.com/TanStack/router/security/advisories…
- Patch github.com/TanStack/router/pull/8573
- Patch github.com/TanStack/router/commit/d521abd71c69…
1 more
- Release notes github.com/TanStack/router/releases/tag/releas…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.