CVE-2025-68470React Router has unexpected external redirect via untrusted paths
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| remix-run | react-router | >= 7.0.0, < 7.9.6, >= 6.0.0, < 6.30.2 | |
| shopify | react-router | 6.0.0 – ≤ 6.30.1 |
References and patches
- https://github.com/remix-run/react-router/security/advisories/GHSA-9jcx-v3wj-wh4m Third Party Advisory
CPE matches (NVD) (2)
cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:*≥ 6.0.0 ≤ 6.30.1cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:*≥ 7.0.0 ≤ 7.9.5