Moderate severityOSV Advisory· Published Jan 10, 2026· Updated Jan 12, 2026
React Router has unexpected external redirect via untrusted paths
CVE-2025-68470
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 packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
react-routernpm | >= 6.0.0, < 6.30.2 | 6.30.2 |
react-routernpm | >= 7.0.0, < 7.9.6 | 7.9.6 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-9jcx-v3wj-wh4mghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-68470ghsaADVISORY
- github.com/remix-run/react-router/security/advisories/GHSA-9jcx-v3wj-wh4mghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.