CVE-2026-102989
TanStack Router: Unauthenticated reflected XSS in TanStack Start server-function responses
Overview
Description
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.
Source: OX vulnerability database
Severity
9.3 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Weakness: CWE-79
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | @tanstack/react-start | >=1.143.12, <1.168.60 | 1.168.60 |
| npm | @tanstack/solid-start | >=1.143.12, <1.168.57 | 1.168.57 |
| npm | @tanstack/start-server-core | >=1.143.12, <1.169.39 | 1.169.39 |
| npm | @tanstack/vue-start | >=1.143.12, <1.168.56 | 1.168.56 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/TanStack/router
- github.com https://github.com/TanStack/router/commit/d521abd71c69f1ff010bb3def4d417cb5fa058cb
- github.com https://github.com/TanStack/router/pull/8573
- github.com https://github.com/TanStack/router/releases/tag/release-2026-09-30-1747
- github.com https://github.com/TanStack/router/security/advisories/GHSA-qx66-fv34-fjm8
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-102989
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.