CVE-2026-40181
Published:June 02, 2026
Updated:June 05, 2026
React Router is a router for React. In versions 7.0.0 through 7.14.0 and 6.7.0 through 6.30.3, certain URLs passed to the redirect function can trigger an open redirect to an external domain due to path values starting with // being reinterpreted as protocol-relative URLs. The level of impact depends on the validation done by the application prior to returning the redirect. This does not impact applications using Declarative Mode (<BrowserRouter>). This is patched in versions 7.14.1 and 6.30.4.
Affected Packages
react-router (CDN_JS):
Affected version(s) >=6.7.0 <6.30.4Fix Suggestion:
Update to version 6.30.4react-router (CDN_JS):
Affected version(s) >=7.0.0 <7.14.1Fix Suggestion:
Update to version 7.14.1https://github.com/remix-run/react-router.git (GITHUB):
Affected version(s) >=react-router@6.7.0 <react-router@6.30.4Fix Suggestion:
Update to version react-router@6.30.4https://github.com/remix-run/react-router.git (GITHUB):
Affected version(s) >=react-router@7.0.0 <react-router@7.14.1Fix Suggestion:
Update to version react-router@7.14.1react-router (NPM):
Affected version(s) >=7.0.0 <7.14.1Fix Suggestion:
Update to version 7.14.1react-router (NPM):
Affected version(s) >=7.0.0 <7.14.1Fix Suggestion:
Update to version 7.14.1react-router (NPM):
Affected version(s) >=6.7.0 <6.30.4Fix Suggestion:
Update to version 6.30.4react-router (NPM):
Affected version(s) >=6.7.0 <6.30.4Fix Suggestion:
Update to version 6.30.4Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
URL Redirection to Untrusted Site ('Open Redirect')
EPSS
Base Score:
0.03