Intel

AIKIDO-2026-796907

@tanstack/start-server-core is vulnerable to Cross-Site Scripting (XSS)

CVE-2026-102989Published Oct 14, 2026
October 14, 2026

93

CVE Score

Critical

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

TanStack Start's server function transport in @tanstack/start-server-core merges client supplied request payload fields into internal middleware state instead of limiting them to the public input fields a server function expects. A malformed payload stores an untrusted value in the function's error path, and the request handler returns that value through attachResponseHeaders/h3_toResponse as if it were an already validated HTTP response. An unauthenticated visitor who opens a crafted link to a server function receives untrusted HTML from the app's own origin, so the injected script runs with that visitor's session and can make requests with their authority. The patch rejects a value that does not match the response shape at the server boundary and blocks client fields outside the public payload.

How do I fix this?

Upgrade the @tanstack/start-server-core library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

1.143.12 - 1.169.38

Fixed in 1.169.39

Background info

@tanstack/start-server-core is vulnerable to Cross-Site Scripting (XSS) in versions 1.143.12 - 1.169.38.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea