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.
How to fix
- react-router6.30.2, 7.9.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| shopify react-router | 6.0.0 ≤ v ≤ 6.30.1, 7.0.0 ≤ v ≤ 7.9.5 | — |
| react-routernpm | 6.0.0 ≤ v < 6.30.2, 7.0.0 ≤ v < 7.9.6 | 6.30.2, 7.9.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.