{"id":"CVE-2026-102989","revision":null,"records":[{"revision":"1aea1173ff4b4bababc8f7d256e6e7e7","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-102989","aliases":[],"title":"TanStack Router: Unauthenticated reflected XSS in TanStack Start server-function responses","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.","state":0,"publishedAt":"2026-10-13T16:13:13.105+00:00","modifiedAt":"2026-10-14T15:20:08.563+00:00","affected":[{"ecosystem":"Vendor product","name":"router","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"TanStack\",\n                    \"product\": \"router\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< release-2026-09-30-1747\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"react-start","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"@tanstack\",\n                    \"product\": \"react-start\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 1.143.12, < 1.168.60\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"solid-start","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"@tanstack\",\n                    \"product\": \"solid-start\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 1.143.12, < 1.168.57\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"start-server-core","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"@tanstack\",\n                    \"product\": \"start-server-core\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 1.143.12, < 1.169.39\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"vue-start","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"@tanstack\",\n                    \"product\": \"vue-start\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 1.143.12, < 1.168.56\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":9.3,"severity":"CRITICAL"}],"references":["https://github.com/TanStack/router/security/advisories/GHSA-qx66-fv34-fjm8","https://github.com/TanStack/router/pull/8573","https://github.com/TanStack/router/commit/d521abd71c69f1ff010bb3def4d417cb5fa058cb","https://github.com/TanStack/router/releases/tag/release-2026-09-30-1747"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-102989","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-102989","identifiers":["CVE-2026-102989"]},"retained":false,"historicalAffected":[]},{"revision":"2bc7e9f7d3b0423fb6035f8af98c95b6","observedAt":"2026-11-09T05:03:59.983+00:00","statement":{"source":"euvd","id":"EUVD-2026-98849","aliases":["CVE-2026-102989","GHSA-qx66-fv34-fjm8"],"title":"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-s…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":9.3,"severity":null}],"references":["https://github.com/TanStack/router/security/advisories/GHSA-qx66-fv34-fjm8","https://github.com/TanStack/router/pull/8573","https://github.com/TanStack/router/commit/d521abd71c69f1ff010bb3def4d417cb5fa058cb","https://github.com/TanStack/router/releases/tag/release-2026-09-30-1747"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-98849","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Oct 13, 2026, 4:13:13 PM","dateUpdated":"Oct 14, 2026, 3:20:08 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-98849","identifiers":["EUVD-2026-98849","CVE-2026-102989","GHSA-qx66-fv34-fjm8"]},"retained":false,"historicalAffected":[]},{"revision":"7717c05291b04a9eb05712ec4bae9c6c","observedAt":"2026-10-25T04:17:29.458+00:00","statement":{"source":"nvd","id":"CVE-2026-102989","aliases":[],"title":"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-s…","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.","state":0,"publishedAt":"2026-10-13T17:17:14.797+00:00","modifiedAt":"2026-10-16T16:00:33.533+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":9.3,"severity":"CRITICAL"}],"references":["https://github.com/TanStack/router/commit/d521abd71c69f1ff010bb3def4d417cb5fa058cb","https://github.com/TanStack/router/pull/8573","https://github.com/TanStack/router/releases/tag/release-2026-09-30-1747","https://github.com/TanStack/router/security/advisories/GHSA-qx66-fv34-fjm8"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-102989","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Awaiting Analysis","weaknesses":["CWE-79"],"productCriteria":[],"sourceDates":{"published":"2026-10-13T17:17:14.797","lastModified":"2026-10-16T16:00:33.533"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-102989","identifiers":["CVE-2026-102989"]},"retained":false,"historicalAffected":[]},{"revision":"0ee4f56105fb448b9ee8131124848f9c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-qx66-fv34-fjm8","aliases":["CVE-2026-102989"],"title":"TanStack Router: Unauthenticated reflected XSS in TanStack Start server-function responses","description":"## 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.","state":0,"publishedAt":"2026-10-15T20:22:20+00:00","modifiedAt":"2026-10-15T20:30:04.544572+00:00","affected":[{"ecosystem":"npm","name":"@tanstack/start-server-core","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.143.12"},{"kind":"fixed","version":"1.169.39"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@tanstack/react-start","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.143.12"},{"kind":"fixed","version":"1.168.60"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@tanstack/solid-start","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.143.12"},{"kind":"fixed","version":"1.168.57"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@tanstack/vue-start","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.143.12"},{"kind":"fixed","version":"1.168.56"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/TanStack/router/security/advisories/GHSA-qx66-fv34-fjm8","https://nvd.nist.gov/vuln/detail/CVE-2026-102989","https://github.com/TanStack/router/pull/8573","https://github.com/TanStack/router/commit/d521abd71c69f1ff010bb3def4d417cb5fa058cb","https://github.com/TanStack/router","https://github.com/TanStack/router/releases/tag/release-2026-09-30-1747"],"sourceUrl":"https://github.com/advisories/GHSA-qx66-fv34-fjm8","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-qx66-fv34-fjm8","identifiers":["GHSA-qx66-fv34-fjm8","CVE-2026-102989"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-09T10:04:34.0648037+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-09T10:04:34.0648037+00:00","lastSuccessAt":"2026-11-09T10:04:34.2246806+00:00","error":null,"lastVerifiedAt":"2026-11-09T10:04:34.2246841+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-24e6fde7b744113daefb8f6135035fb8a5c69c9617c9c0d40574a0376532ffd3-959e97d06f32ad78d34e1b0ba6a6e5cd74265f5a3f17190fe2a4f93cc705e8ca","complete":true,"records":421341,"lastAttemptAt":"2026-11-09T10:02:25.7011931+00:00","lastSuccessAt":"2026-11-09T10:02:25.6766256+00:00","error":null,"lastVerifiedAt":"2026-11-09T10:02:25.7011931+00:00","snapshotPublishedAt":"2026-11-09T09:30:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-994943cd8cb046f49f56409fe0b1d8c6","complete":false,"records":13655,"lastAttemptAt":"2026-11-09T10:16:43.0170247+00:00","lastSuccessAt":"2026-11-09T10:16:43.013+00:00","error":"6 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-09T10:16:43.013+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13701,"expectedIdentifiers":13707,"failedIdentifiers":6},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-09T10:04:34.0648037+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-09T10:04:34.0648037+00:00","lastSuccessAt":"2026-11-09T10:04:34.2253534+00:00","error":null,"lastVerifiedAt":"2026-11-09T10:04:34.2253535+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-4dc74a26d06148ffa8eb6751d602315d","complete":true,"records":13667,"lastAttemptAt":"2026-11-09T10:04:35.2758607+00:00","lastSuccessAt":"2026-11-09T10:04:35.272+00:00","error":null,"lastVerifiedAt":"2026-11-09T10:04:35.272+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13707,"expectedIdentifiers":13707,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-980593e6977a6d1b4fb1eed5a1ffe88a468736f89f0a06f710924ad59132c023","complete":true,"records":9914,"lastAttemptAt":"2026-11-09T10:04:28.5294921+00:00","lastSuccessAt":"2026-11-08T11:07:07.068788+00:00","error":null,"lastVerifiedAt":"2026-11-09T10:04:28.5294921+00:00","snapshotPublishedAt":"2026-11-08T11:02:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-09T10:02:25.7473895+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-09T10:02:25.7473895+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-747b24005f13ffe3f133ae77dfb12ae3145f2c7aed5cfebb91eb943ceb4daeb6","complete":true,"records":3060,"lastAttemptAt":"2026-11-09T10:04:34.0336984+00:00","lastSuccessAt":"2026-11-09T10:04:33.8957851+00:00","error":null,"lastVerifiedAt":"2026-11-09T10:04:34.0336984+00:00","snapshotPublishedAt":"2026-11-09T10:03:05+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-e6e6ac3eaece246ff08884368fe1dc99d4d393571e77c126c8f4d38d66697688","complete":true,"records":231297,"lastAttemptAt":"2026-11-09T10:04:28.3938244+00:00","lastSuccessAt":"2026-11-09T10:04:27.0059369+00:00","error":null,"lastVerifiedAt":"2026-11-09T10:04:28.3938244+00:00","snapshotPublishedAt":"2026-11-09T09:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}