Live threats

All CVEs / TanStack

CVE-2026-102989TanStack router

Unauthenticated Content Injection in TanStack Router

Critical 9.3 No auth needed

Priority
71
CVSS 3.1
9.3
EPSS
—
Auth required
No
Published
Oct 13, 2026
Updated
Oct 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

What happens

Affected versions of TanStack Router allow an unauthenticated attacker to inject non-public fields in server-function requests, resulting in HTML/JavaScript injection from the application's origin. A visitor opening a crafted URL can execute malicious scripts that access same-origin data and issue requests with the visitor's authority.

Show the original NVD text

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 text, unmodified. NVD.

What to do

Patch available · fixed versions: 1.169.39, 1.168.60, 1.168.57, 1.168.56

Update @tanstack/start-server-core to 1.169.39 or later, @tanstack/react-start to 1.168.60 or later, @tanstack/solid-start to 1.168.57 or later, and @tanstack/vue-start to 1.168.56 or later.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for router.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @tanstack/react-start ≥ 1.143.12 < 1.168.60 1.168.60 npm install @tanstack/react-start@1.168.60
npm @tanstack/solid-start ≥ 1.143.12 < 1.168.57 1.168.57 npm install @tanstack/solid-start@1.168.57
npm @tanstack/start-server-core ≥ 1.143.12 < 1.169.39 1.169.39 npm install @tanstack/start-server-core@1.169.39
npm @tanstack/vue-start ≥ 1.143.12 < 1.168.56 1.168.56 npm install @tanstack/vue-start@1.168.56

Per OSV / GitHub Advisories (GHSA-qx66-fv34-fjm8). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.