6.5medium
React Router has unexpected external redirect via untrusted paths
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.49% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-9jcx-v3wj-wh4m
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| remix-run react-router | >= 7.0.0, < 7.9.6, >= 6.0.0, < 6.30.2 | CVE List |
| react-router (npm) | from 6.0.0 before 6.30.2, from 7.0.0 before 7.9.6 | GitHub Advisory Database |
| shopify react-router | from 6.0.0 up to 6.30.1, from 7.0.0 up to 7.9.5 | NVD |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68470 changed 2026-01-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9jcx-v3wj-wh4m changed 2026-02-03 | CC-BY-4.0 |
| NVD | CVE-2025-68470 changed 2026-06-17 | Public domain |