MODERATE 6.5

CVE-2025-68470

React Router has unexpected external redirect via untrusted paths

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 Maven artifacts (3)

ArtifactAffected versionsFixed in
org.mvnpm » react-routervia npm react-router
>= 6.0.0, < 6.30.2>= 7.0.0, < 7.9.6
6.30.2, 7.9.6
org.webjars » react-routervia npm react-router
>= 6.0.0, < 6.30.2>= 7.0.0, < 7.9.6
6.30.2, 7.9.6
org.webjars.npm » react-routervia npm react-router
>= 6.0.0, < 6.30.2>= 7.0.0, < 7.9.6
6.30.2, 7.9.6

Blast radius

2affected artifacts
67affected versions
4dependent artifacts (est.)
149dependent versions

0% of the dependent artifacts (0) still pull an affected version in their latest release.

DepthDependent versions
Direct
149

Most used dependents

Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV