Skip to main content

React Router CVE-2026-53668

| EUVDEUVD-2026-49633 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-07-23 https://github.com/remix-run/react-router GHSA-jjmj-jmhj-qwj2
6.9
CVSS 3.1 · Vendor: https://github.com/remix-run/react-router
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker crafts link with `//evil.com` or `javascript:` navigation target
  2. Delivery
    Victim clicks attacker-controlled URL within vulnerable React app
  3. Exploit
    App passes URL parameter to `useNavigate` without sanitization
  4. Execution
    `resolvePath` fails to normalize protocol-relative path
  5. Persist
    Browser redirects to external site or executes XSS payload
  6. Impact
    Session tokens or credentials exfiltrated

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following: (1) the application uses react-router 7.9.6-7.12.0 or react-router-dom 6.30.2-6.30.4; (2) the application passes attacker-influenced input - such as a URL query parameter, hash fragment, or form field - directly or with insufficient sanitization to a React Router navigation API (useNavigate, <Link to=...>, or redirect()); (3) the victim must actively click a crafted link (UI:R per CVSS). Exploitation is not possible against applications that construct navigation targets exclusively from static strings or server-controlled values. The High complexity (AC:H) in the CVSS vector confirms that exploitation is conditional on this application-level pattern rather than exploitable against arbitrary React Router deployments. Unauthenticated attackers can exploit this remotely (PR:N, AV:N), but only against applications exhibiting the vulnerable navigation pattern.

Impact

The CVSS vector AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N scores 6.9 and is consistent with the described vulnerability: network-delivered crafted link, no attacker authentication required, user must click, and the scope change reflects XSS crossing origin boundaries. The High complexity (AC:H) is the primary risk limiter - exploitation is only possible when the application passes attacker-influenced input directly to React Router navigation APIs without sanitization, which is an application-level pattern rather than a universal condition. This substantially narrows the real-world attack surface compared to a typical PR:N/AC:L web vulnerability. No EPSS score was provided in the input; without it, exploitation probability cannot be quantified independently. No CISA KEV listing and no public exploit code exist at time of analysis. For react-router-dom 6.x (6.30.2-6.30.4), no confirmed fix version is available, leaving a subset of applications without a clear upgrade path. The S:C/C:H combination means successful exploitation of a vulnerable application yields full session hijacking capability, making the per-application impact severe even if the attack surface is narrow.

Exploit ScenarioDerived

An attacker embeds a crafted link in a phishing email or social-media post targeting users of a vulnerable React application, where the app reads a redirect destination from a URL query parameter and passes it to useNavigate. The victim clicks the link; React Router's resolvePath interprets the attacker-supplied //attacker.com path as an absolute external URL and redirects the browser there, or a javascript:-scheme path executes attacker-controlled code in the trusted application origin. No public proof-of-concept exploit code has been identified, but the PR diff clearly illustrates the prior behavior of passing //google.com through unmodified.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

Open redirect in React Router's resolvePath utility allows attackers to craft navigation URLs using protocol-relative paths (//external.com) or colon-containing relative paths that the library fails to normalize, resulting in external redirects or XSS execution in the victim's browser. Affected packages are react-router (npm) 7.9.6-7.12.0 and react-router-dom (npm) 6.30.2-6.30.4; only react-router has a confirmed fix (7.13.0). No public exploit code and no CISA KEV listing have been identified at time of analysis, though the CVSS scope-change and high confidentiality impact reflect cross-origin session theft potential via XSS.

RemediationAI

For react-router (7.x), upgrade to version 7.13.0 or later; the upstream fix is confirmed in commit 3a5b5ad0e5cf9918c646509563f5c41a89226ff3 and PR #14718 (https://github.com/remix-run/react-router/pull/14718). For react-router-dom 6.x (versions 6.30.2-6.30.4), no confirmed fixed release was identified in the advisory at time of analysis - monitor https://github.com/remix-run/react-router/security/advisories/GHSA-jjmj-jmhj-qwj2 for updates. As a compensating control, applications should validate and reject any navigation target that begins with // or contains a colon before the first slash before passing it to useNavigate or <Link to=...>; this prevents the open redirect vector regardless of library version. Note that input validation at the application layer introduces maintenance overhead and must be applied consistently at every navigation call site - partial application leaves gaps. Do not rely solely on sanitization as a long-term control once a patch is available.

Affected VersionsENISA

react-router 7.9.6, < 7.13.0
react-router 6.30.2, ≤ 6.30.4

Affected Packages

npm react-router fix: 7.13.0
npm react-router-dom fix: 6.30.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

React Router is the dominant client-side routing library for React applications, distributed as pkg:npm/react-router and pkg:npm/react-router-dom. The vulnerability exists in the resolvePath function (packages/react-router/lib/router/utils.ts) which computed navigation targets for useNavigate and <Link>. The old implementation called isAbsoluteUrl() and, upon matching, passed protocol-relative paths like //external.com through without normalization, allowing them to be interpreted by the browser as external URLs. Separately, relative paths containing colons (e.g., foo:bar) could be misread as URL schemes (e.g., javascript:), introducing an XSS vector. CWE-601 (URL Redirection to Untrusted Site) is the root cause class. The fix in PR #14718 strips leading double slashes unconditionally before any path resolution, and resolves all non-absolute paths relative to the application root, closing both vectors.

Know when Open Redirect gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/remix-run/react-router) PRIMARY 6.9 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
vuln.today AI 6.9 MEDIUM

AC:H because exploitation requires app to expose attacker-controlled input to navigation APIs; S:C and C:H reflect XSS cross-origin session theft; UI:R for mandatory victim click.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 6.9 MEDIUM

Primary rating from Vendor (https://github.com/remix-run/react-router).

CVSS VectorVendor: https://github.com/remix-run/react-router

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

DescriptionCVE.org

Applications with open redirects could permit attacker crafted links to result in redirects to unexpected external location or XSS vectors.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 20 npm packages depend on react-router (11 direct, 9 indirect)
  • 8 npm packages depend on react-router-dom (7 direct, 1 indirect)

Ecosystem-wide dependent count for version 7.9.6 and other introduced versions.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
High
dominant React routing library, tens of millions of weekly npm downloads
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2017-1000117 HIGH POC
8.8 Oct 05

A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca

CVE-2024-52875 HIGH POC
8.8 Jan 31

GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of

CVE-2016-5385 HIGH POC
8.1 Jul 19

PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect

CVE-2013-2248 MEDIUM POC
5.8 Jul 20

Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to

CVE-2018-11784 MEDIUM POC
4.3 Oct 04

When the default servlet in Apache Tomcat versions 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90 returned a r

CVE-2022-45402 MEDIUM
6.1 Nov 15

In Apache Airflow versions prior to 2.4.3, there was an open redirect in the webserver's `/login` endpoint. Rated medium

CVE-2012-6499 MEDIUM POC
5.8 Jan 12

Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows

CVE-2015-2863 MEDIUM POC
4.3 Jul 20

Open redirect vulnerability in Kaseya Virtual System Administrator (VSA) 7.x before 7.0.0.29, 8.x before 8.0.0.18, 9.0 b

CVE-2017-3528 MEDIUM POC
5.4 Apr 24

Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li

CVE-2012-0518 MEDIUM
4.7 Oct 16

Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3

CVE-2024-21641 MEDIUM POC
6.5 Jan 05

Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp

CVE-2015-5354 MEDIUM POC
5.8 Jul 01

Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy