← Back to search

CVE-2026-102989

9.3 CRITICALpublic exploit available

Published 2026-10-13 · Updated 2026-10-16

AI risk analysis

Summary
A cross-site scripting vulnerability in TanStack Router allows unauthenticated attackers to inject malicious HTML into server-function responses, potentially enabling them to execute arbitrary JavaScript in the context of authenticated users' browsers. This occurs when attacker-controlled middleware state reaches error paths and response-shaped objects are accepted as HTTP responses.
Exploitability
The exploit is relatively straightforward as it requires only a crafted server-function URL that can be accessed by any visitor, with no authentication required to trigger the vulnerability.
Blast radius
The impact could be severe as attackers could inject malicious scripts that access same-origin data and issue requests with visitors' authority, potentially leading to account takeover or data exfiltration.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to @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 immediately.
xsswebclient-sideserver-function

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

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

Weaknesses

CWE-79

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.