{"schema":"threatline.record/2","record":{"id":"CVE-2026-102989","aliases":["GHSA-qx66-fv34-fjm8"],"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.","categories":["Libraries & packages"],"product":"@tanstack/start-server-core","vendor":"TanStack","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:22:22Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@tanstack/start-server-core"},"range":">= 1.143.12, < 1.169.39"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:22:22Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@tanstack/react-start"},"range":">= 1.143.12, < 1.168.60"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:22:22Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@tanstack/solid-start"},"range":">= 1.143.12, < 1.168.57"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:22:22Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@tanstack/vue-start"},"range":">= 1.143.12, < 1.168.56"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-102989","source_modified_at":"2026-10-14T15:20:08.563Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"router","vendor":"TanStack","versions":[{"version":"< release-2026-09-30-1747","status":"affected"}],"defaultStatus":null},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-102989","source_modified_at":"2026-10-14T15:20:08.563Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"react-start","vendor":"@tanstack","versions":[{"version":">= 1.143.12, < 1.168.60","status":"affected"}],"defaultStatus":null},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-102989","source_modified_at":"2026-10-14T15:20:08.563Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"solid-start","vendor":"@tanstack","versions":[{"version":">= 1.143.12, < 1.168.57","status":"affected"}],"defaultStatus":null},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-102989","source_modified_at":"2026-10-14T15:20:08.563Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"start-server-core","vendor":"@tanstack","versions":[{"version":">= 1.143.12, < 1.169.39","status":"affected"}],"defaultStatus":null},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-102989","source_modified_at":"2026-10-14T15:20:08.563Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"vue-start","vendor":"@tanstack","versions":[{"version":">= 1.143.12, < 1.168.56","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:30:04.544571974Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"@tanstack/start-server-core","ecosystem":"npm","purl":"pkg:npm/%40tanstack/start-server-core"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.143.12"},{"fixed":"1.169.39"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:30:04.544571974Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"@tanstack/react-start","ecosystem":"npm","purl":"pkg:npm/%40tanstack/react-start"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.143.12"},{"fixed":"1.168.60"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:30:04.544571974Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"@tanstack/solid-start","ecosystem":"npm","purl":"pkg:npm/%40tanstack/solid-start"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.143.12"},{"fixed":"1.168.57"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:30:04.544571974Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"@tanstack/vue-start","ecosystem":"npm","purl":"pkg:npm/%40tanstack/vue-start"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.143.12"},{"fixed":"1.168.56"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:22:22Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@tanstack/start-server-core"},"version":"1.169.39"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:22:22Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@tanstack/react-start"},"version":"1.168.60"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:22:22Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@tanstack/solid-start"},"version":"1.168.57"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:22:22Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@tanstack/vue-start"},"version":"1.168.56"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:30:04.544571974Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"@tanstack/start-server-core","ecosystem":"npm","purl":"pkg:npm/%40tanstack/start-server-core"},"version":"1.169.39"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:30:04.544571974Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"@tanstack/react-start","ecosystem":"npm","purl":"pkg:npm/%40tanstack/react-start"},"version":"1.168.60"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:30:04.544571974Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"@tanstack/solid-start","ecosystem":"npm","purl":"pkg:npm/%40tanstack/solid-start"},"version":"1.168.57"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-qx66-fv34-fjm8","source_modified_at":"2026-10-15T20:30:04.544571974Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"@tanstack/vue-start","ecosystem":"npm","purl":"pkg:npm/%40tanstack/vue-start"},"version":"1.168.56"}],"cvss":9.3,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.00516,"percentile":0.43087,"score_date":"2026-10-23"},"published_at":"2026-10-13T16:13:13.105Z","modified_at":"2026-10-15T20:30:04.544571974Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-qx66-fv34-fjm8","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-15T20:22:22Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-102989","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-14T15:20:08.563Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-qx66-fv34-fjm8","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-15T20:30:04.544571974Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-102989","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/TanStack/router/security/advisories/GHSA-qx66-fv34-fjm8","tags":["x_refsource_CONFIRM"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102989","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/TanStack/router/pull/8573","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/TanStack/router/commit/d521abd71c69f1ff010bb3def4d417cb5fa058cb","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/TanStack/router/releases/tag/release-2026-09-30-1747","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-qx66-fv34-fjm8","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-14T15:19:40.392223Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-15T20:30:04.544571974Z","content_hash":"8cb861cf811af266199bf532c8279c743e0140b75677a7b4221e937e7f41c503"}}
