GHSA-9jcx-v3wj-wh4m
React Router has unexpected external redirect via untrusted paths
At a glance
- Published
- Updated
- CVE
- CVE-2025-68470
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
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 packages
| Package | Versions |
|---|---|
| npm · react-router | introduced 6.0.0, fixed 6.30.2 |
| npm · react-router | introduced 7.0.0, fixed 7.9.6 |
References
- https://github.com/remix-run/react-router/security/advisories/GHSA-9jcx-v3wj-wh4m WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-68470 ADVISORY
- https://github.com/remix-run/react-router PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |