VDB
KO
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

npm / react-router
Introduced in: 6.0.0 Fixed in: 7.18.0
Fix npm install react-router@7.18.0

References