Open Redirect Affecting react-router package, versions >=6.0.0 <6.30.2>=7.0.0 <7.9.6


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-REACTROUTER-14908286
  • published9 Jan 2026
  • disclosed8 Jan 2026
  • creditAndrey Pshenkin

Introduced: 8 Jan 2026

CVE-2025-68470  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade react-router to version 6.30.2, 7.9.6 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect via the resolvePath() function when used with navigate, <Link>, or redirect. An attacker can cause the application to redirect users to external, potentially malicious URLs by supplying crafted paths.

Note:

This is only exploitable if untrusted content is passed into navigation paths in the application code.

References

CVSS Base Scores

version 4.0
version 3.1