Vulnerabilities / CVE-2026-102989

critical

CVE-2026-102989

TanStack Router: Unauthenticated reflected XSS in TanStack Start server-function responses

Published Modified CWE 79
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

GHSA9.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Trivy's own label is CRITICAL. Rated critical by GHSA.

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.

Affected packages and fixed versions

SourcePackageFixed in
npm::GitHub Security Advisory npm@tanstack/react-start, @tanstack/solid-start, @tanstack/start-server-core and 1 more1.168.60 and 3 more
Show all 4 entries from 1 source
SourcePackageFixed in
npm::GitHub Security Advisory npm@tanstack/react-start1.168.60
npm::GitHub Security Advisory npm@tanstack/solid-start1.168.57
npm::GitHub Security Advisory npm@tanstack/start-server-core1.169.39
npm::GitHub Security Advisory npm@tanstack/vue-start1.168.56

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.