CVE-2026-102989: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in TanStack router
Description
CVE-2026-102989 is a critical cross-site scripting (XSS) vulnerability in TanStack Router, affecting multiple related packages. It allows an unauthenticated attacker to craft server-function requests that inject attacker-controlled HTML into responses, enabling script execution in the context of the application's origin. This can lead to theft of same-origin data and unauthorized requests with the visitor's authority. The issue affects versions from 1.143.12 up to but not including fixed versions 1.169.39, 1.168.60, 1.168.57, and 1.168.56 depending on the package. Official fixes have been released in these versions.
CVSS v3.1
Score 9.3critical
Affected software
TanStack
router
@tanstack
react-start
@tanstack
solid-start
@tanstack
start-server-core
@tanstack
vue-start
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
TanStack Router versions from 1.143.12 up to but excluding 1.169.39 (@tanstack/start-server-core), 1.168.60 (@tanstack/react-start), 1.168.57 (@tanstack/solid-start), and 1.168.56 (@tanstack/vue-start) contain a CWE-79 improper input neutralization vulnerability. An unauthenticated attacker can manipulate non-public fields in server-function request payloads so that attacker-controlled middleware state reaches an error path, causing a response-shaped object to be accepted as an HTTP response. This allows crafted URLs to return attacker-controlled HTML from the application's origin, enabling cross-site scripting attacks that can access same-origin data and issue requests with the visitor's authority. The vulnerability has a CVSS 3.1 score of 9.3 (critical) with network attack vector, low attack complexity, no privileges required, user interaction required, scope changed, and high confidentiality and integrity impact but no availability impact. Official patches are available in the specified fixed versions.
Potential Impact
Successful exploitation allows an unauthenticated attacker to execute arbitrary scripts in the context of the vulnerable web application origin. This can lead to theft of sensitive data accessible to the application, unauthorized actions performed with the visitor's privileges, and compromise of user trust. The vulnerability does not impact availability but has high confidentiality and integrity impact. The attack requires user interaction (visiting a crafted URL).
Mitigation Recommendations
This vulnerability is fixed in @tanstack/start-server-core version 1.169.39, @tanstack/react-start version 1.168.60, @tanstack/solid-start version 1.168.57, and @tanstack/vue-start version 1.168.56. Users should upgrade to these versions or later to remediate the issue. No other mitigation or temporary workaround is indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-29T20:46:08.334Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ace5a0a2cdf04f65685c30b
Added to database: 10/13/2026, 16:19:22 UTC
Last enriched: 10/13/2026, 16:33:32 UTC
Last updated: 10/13/2026, 18:57:33 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.