# CVE-2025-68470: react-router — Fixed in 6.30.2

📦

📦 npm

Not in CISA KEV

MEDIUM severity

# CVE-2025-68470 — react-router

MEDIUM 

CVE-2025-68470 is a medium-severity (CVSS 6.5) Open Redirect vulnerability in react-router. A fix is available for react-router — see the affected versions and patch details below.

React Router has unexpected external redirect via untrusted paths

Also known as[GHSA-9jcx-v3wj-wh4m](/vulnerability/GHSA-9jcx-v3wj-wh4m)

Published

Jan 10, 2026

Updated

Oct 28, 2026

Affected

2 pkgs

Patched

2 / 2

Exploits

None indexed

Exploitation data as of Nov 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

## Exploitation Status

### No confirmed exploitation observed yet

-   CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2025-68470.

## EPSS Exploitation Probability

[via FIRST.org ↗](https://www.first.org/epss/)

0.5%probability of exploitation in next 30 days

Lower Risk0.00%

Lower risk than most CVEs43th percentile — riskier than 43% of all scored CVEsHighest risk

0.00%0.33%0.67%1.00%0.0%0.5%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from [FIRST.org EPSS](https://www.first.org/epss/).

## How urgent is this, really

## Where this sits among everything scored

## Real-World Exposure

2 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

9Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream

`react-router`npm

74.8Mdownloads / week

## Description

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.

## Affected Packages

2 total 2 fixed

Ecosystem

Package

Vulnerable range

Fix

📦npm

`react-router` 

≥ 6.0.0&&< 6.30.2

6.30.2`npm install react-router@6.30.2`

📦npm

`react-router` 

≥ 7.0.0&&< 7.9.6

7.9.6`npm install react-router@7.9.6`

## Affected Products

1 product · 2 configurations

Application

`react-router`shopify

≥ 7.0.0 && ≤ 7.9.5

range

## Detection & mitigation playbook

Open-source dependency

1.  ### Detect
    
    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for react-router, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
    
2.  ### Fix
    
    Update react-router to 6.30.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-68470 is resolved across your whole dependency graph.
    
3.  ### Workarounds
    
    Stop reflecting attacker-controlled destinations: resolve every redirect target against an allowlist of paths or hosts you own, prefer a server-side key over a full URL in the request, and reject absolute URLs entirely where the flow only ever needs a relative one.
    

## Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

Workaround published by Red Hat

> Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Source: [Red Hat security advisory for CVE-2025-68470](https://access.redhat.com/security/cve/cve-2025-68470) (CC BY 4.0)

Product

Fixed in

Advisory

Red Hat Openshift Data Foundation 4.18

`odf4/cephcsi-rhel9:1786705347`

[RHSA-2026:56431](https://access.redhat.com/errata/RHSA-2026:56431)

## Frequently Asked Questions

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.

O3 Security · Impact-Aware SCA

### Is CVE-2025-68470 in your dependencies?

Find it across npm, including transitive dependencies.

[Scan my dependencies](/book-demo) [How O3 SCA works](/impact-aware-sca)