{"id":"CVE-2025-68470","aliases":["CVE-2025-68470","GHSA-9jcx-v3wj-wh4m"],"related":[],"kind":"vulnerability","state":"published","title":"React Router has unexpected external redirect via untrusted paths","summary":"React Router is a router for React. In versions 6.0.0 through 6.30.1 and 7.0.0 through 7.9.5, an attacker-supplied path can be crafted so that when a React Router application navigates to it via navigate(), <Link>, or redirect(), the app performs a navigation/redirect to an external URL. This is only an issue if you are passing untrusted content into navigation paths in your application code. This issue has been patched in versions 6.30.2 and 7.9.6.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"React Router is a router for React. In versions 6.0.0 through 6.30.1 and 7.0.0 through 7.9.5, an attacker-supplied path can be crafted so that when a React Router application navigates to it via navigate(), <Link>, or redirect(), the app performs a navigation/redirect to an external URL. This is only an issue if you are passing untrusted content into navigation paths in your application code. This issue has been patched in versions 6.30.2 and 7.9.6.","source":"cvelist"},{"lang":"en","text":"An attacker-supplied path can be crafted so that when a React Router application navigates to it via `navigate()`, `<Link>`, or `redirect()`, the app performs a navigation/redirect to an external URL. This is only an issue if developers pass untrusted content into navigation paths in their application code.","format":"markdown","source":"ghsa"},{"lang":"es","text":"React Router es un router para React. En las versiones 6.0.0 a 6.30.1 y 7.0.0 a 7.9.5, una ruta proporcionada por un atacante puede ser diseñada de modo que cuando una aplicación de React Router navega a ella a través de navigate(), , o redirect(), la aplicación realiza una navegación/redirección a una URL externa. Esto es solo un problema si está pasando contenido no confiable a rutas de navegación en el código de su aplicación. Este problema ha sido parcheado en las versiones 6.30.2 y 7.9.6.","source":"nvd"}],"published":"2026-01-08T20:48:21.000Z","modified":"2026-06-17T09:59:06.990Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"version":">= 7.0.0, < 7.9.6","status":"affected"},{"version":">= 6.0.0, < 6.30.2","status":"affected"}],"vendor":"remix-run","product":"react-router","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.0.0","status":"affected","fixed":"6.30.2"}],"ecosystem":"npm","package":"react-router","purl":"pkg:npm/react-router","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.9.6"}],"ecosystem":"npm","package":"react-router","purl":"pkg:npm/react-router","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"6.0.0","lastAffected":"6.30.1"},{"status":"affected","introduced":"7.0.0","lastAffected":"7.9.5"}],"vendor":"shopify","product":"react-router","cpe":"cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/remix-run/react-router/security/advisories/GHSA-9jcx-v3wj-wh4m","tags":["third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68470","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/remix-run/react-router","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-12T18:17:37.258Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68470","url":"https://www.cve.org/CVERecord?id=CVE-2025-68470","licence":"CVE Terms of Use","modified":"2026-01-12T18:17:43.794Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9jcx-v3wj-wh4m","url":"https://github.com/advisories/GHSA-9jcx-v3wj-wh4m","licence":"CC-BY-4.0","modified":"2026-02-03T03:14:56.431Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68470","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68470","licence":"Public domain","modified":"2026-06-17T09:59:06.990Z"}],"updatedAt":"2026-11-25T22:59:10.487Z","epss":{"score":0.00492,"percentile":0.43896,"date":"2026-12-01T12:00:22.000Z"}}