Vulnerabilities in pkg:npm/@tanstack/solid-start
PACKAGECVE-2026-102989 is a CRITICAL (CVSS 9.3) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting TanStack Router libraries in the npm ecosystem. The issue involves unauthenticated reflected xss in tanstack start server-function responses. Remediation is available by upgrading affected packages to version 1.168.56, 1.169.39, 1.168.60, 1.168.57.
pkg:npm/@tanstack/solid-start
Vulnerability advisories affecting package pkg:npm/@tanstack/solid-start. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-qx66-fv34-fjm8 | CVE-2026-102989 | CRITICAL | TanStack Router: Unauthenticated reflected XSS in TanStack Start server-function responses |
| GHSA-g7cv-rxg3-hmpx | CVE-2026-45321 | CRITICAL | Malware in @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys |
CVE-2026-102989 at a Glance
Security Impact
CVSS: 9.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N).
How to Fix CVE-2026-102989
To remediate this vulnerability, upgrade all affected TanStack Router dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @tanstack/vue-start@1.168.56
npm install @tanstack/start-server-core@1.169.39
npm install @tanstack/react-start@1.168.60
npm install @tanstack/solid-start@1.168.57
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @tanstack/vue-start
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-102989, inspect your project dependencies using npm:
npm ls @tanstack/vue-start
Analyze the terminal output to locate any version of TanStack Router in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.168.56), your application is affected.
Note: The npm ls @tanstack/vue-start command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In TanStack Router, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-102989 Affected TanStack Router Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@tanstack/vue-start
|
npm |
≥ 1.143.12
< 1.168.56
|
1.168.56
|
|
@tanstack/start-server-core
|
npm |
≥ 1.143.12
< 1.169.39
|
1.169.39
|
|
@tanstack/react-start
|
npm |
≥ 1.143.12
< 1.168.60
|
1.168.60
|
|
@tanstack/solid-start
|
npm |
≥ 1.143.12
< 1.168.57
|
1.168.57
|
References
Frequently Asked Questions
What is CVE-2026-102989?
Which TanStack Router versions are affected?
What version fixes CVE-2026-102989?
Is @tanstack/vue-start affected?
Is @tanstack/start-server-core affected?
What is the CVSS score of CVE-2026-102989?
What CWE is associated with CVE-2026-102989?
How can I check npm dependencies for CVE-2026-102989?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qx66-fv34-fjm8",
"modified" : "2026-10-15T20:22:21Z",
"published" : "2026-10-15T20:22:20Z",
"aliases" : [ "CVE-2026-102989" ],
"summary" : "TanStack Router: Unauthenticated reflected XSS in TanStack Start server-function responses",
"details" : "## Impact\n\nAn unauthenticated attacker can craft a URL to a server function in an affected TanStack Start app. If someone opens the link, the app can return attacker-controlled HTML from its own origin and run the attacker's JavaScript there. The script can access same-origin data available to that visitor and make requests with their authority.\n\n## Cause\n\nThe server-function transport can pass request payload fields into internal middleware state instead of limiting them to public input fields. A malformed payload can leave an attacker-controlled result in the error path. Response handling can then treat a response-shaped object as an HTTP response.\n\n## Affected versions\n\nPublished versions of `@tanstack/start-server-core`, `@tanstack/react-start`, `@tanstack/solid-start`, and `@tanstack/vue-start` from `1.143.12` up to, but not including, their respective patched versions are affected. The patched versions are `@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`.\n\n## Fix\n\nThe fix limits client-supplied server-function input to public fields and validates responses at the server boundary. Upgrade to the corresponding patched package version.\n\n## Temporary mitigations\n\nFor the configured server-function path, usually `/_serverFn/*`, an edge or WAF rule can consider blocking requests without the literal `x-tsr-serverFn: true` header and browser document navigations such as `Sec-Fetch-Mode: navigate` or `Accept: text/html`. A restrictive Content Security Policy on server-function responses can provide another browser-side restriction. These are mitigation suggestions, not a complete fix. The header is client-controlled and is not authentication. Test rules against legitimate GET and POST server functions and use a matching version-specific backport where possible.\n\n## Credits\n\nLovable helped us discover and report this issue. We thank them for their help.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@tanstack/start-server-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.143.12"
}, {
"fixed" : "1.169.39"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@tanstack/react-start"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.143.12"
}, {
"fixed" : "1.168.60"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@tanstack/solid-start"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.143.12"
}, {
"fixed" : "1.168.57"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@tanstack/vue-start"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.143.12"
}, {
"fixed" : "1.168.56"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/TanStack/router/security/advisories/GHSA-qx66-fv34-fjm8"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-102989"
}, {
"type" : "WEB",
"url" : "https://github.com/TanStack/router/pull/8573"
}, {
"type" : "WEB",
"url" : "https://github.com/TanStack/router/commit/d521abd71c69f1ff010bb3def4d417cb5fa058cb"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/TanStack/router"
}, {
"type" : "WEB",
"url" : "https://github.com/TanStack/router/releases/tag/release-2026-09-30-1747"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-15T20:22:20Z",
"nvd_published_at" : "2026-10-13T17:17:14Z"
}
}