CVE-2025-68470: React Router has unexpected external redirect via untrusted paths

Published Jan 8, 2026
·
Updated

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.

Other sources

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.

MITRE

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.

IBM

Affected Software

5 affected componentsFixes available
npm/react-router>=7.0.0<7.9.6
7.9.6
npm/react-router>=6.0.0<6.30.2
6.30.2
Shopify React-router Node.js>=6.0.0<=6.30.1
Shopify React-router Node.js>=7.0.0<=7.9.5
IBM watsonx.data intelligence<=5.2.2, 5.3.0, 5.3.1, 5.3.1-patch-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/react-router to a version that resolves this vulnerability.

    Fixed in 7.9.6
  2. Upgrade

    Upgrade npm/react-router to a version that resolves this vulnerability.

    Fixed in 6.30.2
  3. Upgrade

    Upgrade React Router to a version that resolves this vulnerability.

    Fixed in 6.30.2
  4. Upgrade

    Upgrade React Router to a version that resolves this vulnerability.

    Fixed in 7.9.6

Event History

Jan 8, 2026
Advisory Published
via GitHub·08:48 PM
Data Sourced
via GitHub·08:48 PM
DescriptionSeverityWeaknessAffected Software
Jan 10, 2026
CVE Published
via MITRE·02:39 AM
Data Sourced
via MITRE·02:39 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
Affected Software
Jun 24, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-68470?

CVE-2025-68470 is classified as a medium severity vulnerability due to the potential for unauthorized redirection to external URLs.

2

How do I fix CVE-2025-68470?

To fix CVE-2025-68470, upgrade to React Router version 7.9.6 or 6.30.2, which contains the necessary security patches.

3

What types of applications are affected by CVE-2025-68470?

CVE-2025-68470 affects React Router applications that accept untrusted input for navigation paths.

4

What are the consequences of not addressing CVE-2025-68470?

Failure to address CVE-2025-68470 could lead to security risks such as phishing attacks through malicious redirection.

5

Which versions of React Router are vulnerable to CVE-2025-68470?

Versions of React Router from 6.0.0 to 6.30.1 and from 7.0.0 to 7.9.5 are vulnerable to CVE-2025-68470.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203