Open Redirect Affecting react-router package, versions >=6.4.0 <7.18.3>=8.0.0 <8.3.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.98% (64th 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-23184463
  • published1 Dec 2026
  • disclosed30 Nov 2026
  • creditMarkus Magnuson

Introduced: 30 Nov 2026

NewCVE-2026-139997  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade react-router to version 7.18.3, 8.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect via loader and action responses that accept an attacker-controlled redirect destination without consistently rejecting external navigation targets. In Data, Framework, unstable RSC Data, and unstable RSC Framework modes, when an application passes untrusted input to a redirect call, the router fails to validate that the resulting navigation target remains on the same origin, allowing an attacker to redirect users to an arbitrary external website and enabling phishing attacks.

Note: This is only exploitable when an application passes attacker-controlled input as a redirect destination in one of the affected modes (Data, Framework, unstable RSC Data, or unstable RSC Framework).

CVSS Base Scores

version 4.0
version 3.1