MEDIUM
GHSA-wrjc-x8rr-h8h6
React Router: Open redirect via backslash in <Link> and useNavigate (CVE-2025-68470 bypass)
Quick fix
GHSA-wrjc-x8rr-h8h6 — react-router: upgrade to the fixed version with the command below.
npm install react-router@7.18.0 Details
This is a follow up to [CVE-2025-68470](https://github.com/remix-run/react-router/security/advisories/GHSA-9jcx-v3wj-wh4m). React Router was alerted to certain scenarios in which the fix there was incomplete so there still existed some scenarios where attacker supplied paths passed to navigation mechanisms could result in unexpected external navigations.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/remix-run/react-router/security/advisories/GHSA-wrjc-x8rr-h8h6 [WEB]
- https://github.com/remix-run/react-router/pull/15176 [WEB]
- https://github.com/remix-run/react-router [PACKAGE]
- https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180 [WEB]
- https://github.com/remix-run/react-router/releases/tag/react-router@7.18.0 [WEB]
- http://github.com/remix-run/react-router/pull/15176 [WEB]