CVE-2025-68470
React Router has unexpected external redirect via untrusted paths
Description
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.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » react-routervia npm react-router | >= 6.0.0, < 6.30.2>= 7.0.0, < 7.9.6 | 6.30.2, 7.9.6 |
| org.webjars » react-routervia npm react-router | >= 6.0.0, < 6.30.2>= 7.0.0, < 7.9.6 | 6.30.2, 7.9.6 |
| org.webjars.npm » react-routervia npm react-router | >= 6.0.0, < 6.30.2>= 7.0.0, < 7.9.6 | 6.30.2, 7.9.6 |
Blast radius
0% of the dependent artifacts (0) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 149 |
Most used dependents
- org.mvnpm » react-router-dom19 usages
- org.webjars.npm » react-router-dom14 usages
- org.mvnpm » zudoku0 usages
- org.mvnpm.at.remix-run » react0 usages
Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2025-68470 | nvd.nist.gov |
| Package | remix-run/react-router | github.com |
| Web | remix-run/react-router advisory GHSA-9jcx-v3wj-wh4m | github.com |
