@tanstack/start-server-core is vulnerable to Cross-Site Scripting (XSS)
93
CVE Score
Critical
Cross-Site Scripting (XSS)
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.
Upgrade the @tanstack/start-server-core library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
1.143.12 - 1.169.38
Fixed in 1.169.39@tanstack/start-server-core is vulnerable to Cross-Site Scripting (XSS) in versions 1.143.12 - 1.169.38.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.