CVE-2025-68470
CVE-2025-68470 · React Router has unexpected external redirect via untrusted paths
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.5 · Medium · EPSS 0.5% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
react-router
- Versions
- >= 7.0.0, < 7.9.6: Affected
- >= 6.0.0, < 6.30.2: Affected
No fix published
react-router npm
- Affected ranges
- SEMVER: ≥ 6.0.0, < 6.30.2
Update to 6.30.2
react-router npm
- Affected ranges
- SEMVER: ≥ 7.0.0, < 7.9.6
Update to 7.9.6