GHSA-9jcx-v3wj-wh4mMediumCVSS 6.5

React Router has unexpected external redirect via untrusted paths

Published
January 8, 2026
Last Modified
January 11, 2026

🔗 CVE IDs covered (1)

📋 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 products2

  • npm/react-router:>= 6.0.0, < 6.30.2
  • npm/react-router:>= 7.0.0, < 7.9.6

🔗 References (3)