Loading0%
SUBZER0
LIVE
Alerts

CVE-2026-102989

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

Archived. This CVE has left SubZer0's live 30-day window. Signals below are as of 2026-11-14; check the references for anything newer.

  • Severity: Critical
  • CVSS 9.3
  • EPSS 0.54%
  • P2 · This week

Why P2: this week.

Description

## Impact An unauthenticated attacker can craft a URL to a server function in an affected TanStack Start app. If someone opens the link, the app can return attacker-controlled HTML from its own origin and run the attacker's JavaScript there. The script can access same-origin data available to that visitor and make requests with their authority. ## Cause The server-function transport can pass request payload fields into internal middleware state instead of limiting them to public input fields. A malformed payload can leave an attacker-controlled result in the error path. Response handling can then treat a response-shaped object as an HTTP response. ## Affected versions Published versions of `@tanstack/start-server-core`, `@tanstack/react-start`, `@tanstack/solid-start`, and `@tanstack/vue-start` from `1.143.12` up to, but not including, their respective patched versions are affected. The patched versions are `@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`. ## Fix The fix limits client-supplied server-function input to public fields and validates responses at the server boundary. Upgrade to the corresponding patched package version. ## Temporary mitigations For the configured server-function path, usually `/_serverFn/*`, an edge or WAF rule can consider blocking requests without the literal `x-tsr-serverFn: true` header and browser document navigations such as `Sec-Fetch-Mod…

Affected products

  • npm @tanstack/react-start >= 1.143.12, < 1.168.60; first patched: 1.168.60
  • npm @tanstack/solid-start >= 1.143.12, < 1.168.57; first patched: 1.168.57
  • npm @tanstack/start-server-core >= 1.143.12, < 1.169.39; first patched: 1.169.39
  • npm @tanstack/vue-start >= 1.143.12, < 1.168.56; first patched: 1.168.56

References

Browse more

npm packagesWeek 42, 2026 recap

Published 2026-10-13 · sources: GitHub Advisory Database