Advisory

GHSA-9jcx-v3wj-wh4m

Also known as: CVE-2025-68470

Summary

React Router has unexpected external redirect via untrusted paths

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-01-08 20:48 UTC
Modified
2026-02-03 03:14 UTC

Affected packages and fixes

react-router

npm · All systems

Affected

  • introduced 6.0.0, fixed 6.30.2 (semver)

Fixed versions

6.30.2

Fix

react-router

npm · All systems

Affected

  • introduced 7.0.0, fixed 7.9.6 (semver)

Fixed versions

7.9.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences