{"answers":{"affected":"8 open source packages ship an affected version, including @tanstack/react-start, @tanstack/solid-start and @tanstack/start-server-core.","exploited":"There is no known exploitation of CVE-2026-102989 in the wild and no public exploit code.","fix":"Upgrade @tanstack/react-start to 1.168.60 or later.","what":"CVE-2026-102989 is a critical cross-site scripting vulnerability in @tanstack react-start, published on 13 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-102989 and fix it if it is affected.\n\nWhat it is: CVE-2026-102989 is a critical cross-site scripting vulnerability in @tanstack react-start, published on 13 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-102989 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @tanstack/react-start (npm): affected from 1.143.12; fixed in 1.168.60\n- @tanstack/react-start (npm): affected from 1.143.12; fixed in 1.168.60\n- @tanstack/solid-start (npm): affected from 1.143.12; fixed in 1.168.57\n- @tanstack/solid-start (npm): affected from 1.143.12; fixed in 1.168.57\n- @tanstack/start-server-core (npm): affected from 1.143.12; fixed in 1.169.39\n- @tanstack/start-server-core (npm): affected from 1.143.12; fixed in 1.169.39\n- @tanstack/vue-start (npm): affected from 1.143.12; fixed in 1.168.56\n- @tanstack/vue-start (npm): affected from 1.143.12; fixed in 1.168.56\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-102989/ (Markdown: https://insights.sbomify.com/CVE-2026-102989/index.md)","id":"CVE-2026-102989","markdown":"https://insights.sbomify.com/CVE-2026-102989/index.md","name":"CVE-2026-102989","record":{"aliases":["GHSA-qx66-fv34-fjm8"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"TanStack Router framework","requires_auth":"none","summary":"An unauthenticated attacker can inject malicious scripts via crafted server-function URLs, allowing same-origin data access and request execution on victim browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"TanStack Router: Unauthenticated reflected XSS in TanStack Start server-function responses","id":"CVE-2026-102989","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":8,"n_references":4,"next":{"headline":"basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE_LINE backtracking)","id":"CVE-2026-102990"},"packages":[{"ecosystem":"npm","fixed":["1.168.60"],"introduced":["1.143.12"],"last_affected":[],"package":"@tanstack/react-start","purl":null,"source":"GHSA-qx66-fv34-fjm8"},{"ecosystem":"npm","fixed":["1.168.60"],"introduced":["1.143.12"],"last_affected":[],"package":"@tanstack/react-start","purl":"pkg:npm/%40tanstack/react-start","source":"GHSA-qx66-fv34-fjm8"},{"ecosystem":"npm","fixed":["1.168.57"],"introduced":["1.143.12"],"last_affected":[],"package":"@tanstack/solid-start","purl":null,"source":"GHSA-qx66-fv34-fjm8"},{"ecosystem":"npm","fixed":["1.168.57"],"introduced":["1.143.12"],"last_affected":[],"package":"@tanstack/solid-start","purl":"pkg:npm/%40tanstack/solid-start","source":"GHSA-qx66-fv34-fjm8"},{"ecosystem":"npm","fixed":["1.169.39"],"introduced":["1.143.12"],"last_affected":[],"package":"@tanstack/start-server-core","purl":null,"source":"GHSA-qx66-fv34-fjm8"},{"ecosystem":"npm","fixed":["1.169.39"],"introduced":["1.143.12"],"last_affected":[],"package":"@tanstack/start-server-core","purl":"pkg:npm/%40tanstack/start-server-core","source":"GHSA-qx66-fv34-fjm8"},{"ecosystem":"npm","fixed":["1.168.56"],"introduced":["1.143.12"],"last_affected":[],"package":"@tanstack/vue-start","purl":null,"source":"GHSA-qx66-fv34-fjm8"},{"ecosystem":"npm","fixed":["1.168.56"],"introduced":["1.143.12"],"last_affected":[],"package":"@tanstack/vue-start","purl":"pkg:npm/%40tanstack/vue-start","source":"GHSA-qx66-fv34-fjm8"}],"prev":{"headline":"Plane: ORM Field Injection via Unvalidated `order_by` Parameter (Including Unauthenticated Path)","id":"CVE-2026-102988"},"products":["react-start","router","solid-start","start-server-core","vue-start"],"published":"2026-10-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["@tanstack","TanStack"]},"summary":"An unauthenticated attacker can inject malicious scripts via crafted server-function URLs, allowing same-origin data access and request execution on victim browsers.","url":"https://insights.sbomify.com/CVE-2026-102989/"}