Skip to main content
VulnerabilityPublished

CVE-2026-102989: TanStack router · Cross-site Scripting

Affects TanStack routerSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.3 Critical · fixed in 1.168.60 : patch TanStack router as a priority.

Data as of 27 Nov 2026, 22:51 UTC

CVSS 3.1 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.168.60, 1.168.57, 1.169.39 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
TanStackrouterAffected
  • =< release-2026-09-30-1747
Fixed in–
@tanstackreact-startAffected
  • >=1.143.12 <1.168.60
Fixed in
  • 1.168.60
@tanstacksolid-startAffected
  • >=1.143.12 <1.168.57
Fixed in
  • 1.168.57
@tanstackstart-server-coreAffected
  • >=1.143.12 <1.169.39
Fixed in
  • 1.169.39
@tanstackvue-startAffected
  • >=1.143.12 <1.168.56
Fixed in
  • 1.168.56
npm@tanstack/start-server-corepkg:npm/%40tanstack/start-server-coreOther threatsAffected
  • >=1.143.12 <1.169.39
Fixed in
  • 1.169.39

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available by upgrading to the patched versions: @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. Temporary mitigations include configuring edge or WAF rules to block requests to the server-function path (usually /_serverFn/*) that lack the literal header 'x-tsr-serverFn: true' and browser document navigations such as 'Sec-Fetch-Mode: navigate' or 'Accept: text/html'. Additionally, applying a restrictive Content Security Policy on server-function responses can reduce risk. These mitigations are not complete fixes and should be tested carefully to avoid blocking legitimate traffic.

Description

CVE-2026-102989 is a critical cross-site scripting (XSS) vulnerability in TanStack router affecting multiple related packages. An unauthenticated attacker can craft a malicious URL that causes the application to return attacker-controlled HTML and execute JavaScript in the context of the victim's browser. This allows access to same-origin data and the ability to make requests with the victim's authority. The issue arises from improper handling of server-function input and response validation. Patched versions are available and upgrading is recommended. Temporary mitigations include edge or WAF rules and restrictive Content Security Policies, but these are not complete fixes.

References

Community reviews

Loading reviews…