TanStack Router: Unauthenticated reflected XSS in TanStack Start server-function responses (TanStack router)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.54 % Β· percentile 46 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Awaiting Analysis
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.
Weaknesses (CWE)
- CWE-79 β Improper Neutralization of Input During Web Page Generation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N | GitHub_M |
| CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N | NVD Β· security-advisories@github.com (Secondary) |
Advisories
- GHSA-qx66-fv34-fjm8 β TanStack Router: Unauthenticated reflected XSS in TanStack Start server-function responses
European references
- ENISA EUVD Β· EUVD-2026-98849
- GCVE Β· GCVE-0-2026-102989
Affected products
| Product | Versions |
|---|---|
| TanStack Β· router | affected < release-2026-09-30-1747 |
| @tanstack Β· react-start | affected >= 1.143.12, < 1.168.60 |
| @tanstack Β· solid-start | affected >= 1.143.12, < 1.168.57 |
| @tanstack Β· start-server-core | affected >= 1.143.12, < 1.169.39 |
| @tanstack Β· vue-start | affected >= 1.143.12, < 1.168.56 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |