NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

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

mediumCVSS 3.1 6.5GHSA-9jcx-v3wj-wh4m

An attacker-supplied path can be crafted so that when a React Router application navigates to it via navigate(), , 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.

Published Jan 8, 2026 · Updated Jan 11, 2026

Affected packages

react-router

Ecosystem
npm
Affected
>= 6.0.0, < 6.30.2
Fixed in
6.30.2
Check
npm ls react-router

react-router

Ecosystem
npm
Affected
>= 7.0.0, < 7.9.6
Fixed in
7.9.6
Check
npm ls react-router

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to APshenkin.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries