CVE-2026-53668

React Router: Open redirect can lead to XSS

Published Jul 27, 2026 CVSS 3.1 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
React Router is a router for React. In versions 6.30.2 through 6.30.4 and 7.9.6 through 7.12.0, applications that allow open redirects are vulnerable to XSS. An attacker could craft a malicious link that redirects users to an unexpected external site or that exploits an XSS vector.This issue has been fixed in version 7.13.0.

Analysis

AI-generated

Technical impact

React Router versions 6.30.2–6.30.4 and 7.9.6–7.12.0 contain an open‑redirect flaw that enables attackers to inject and execute arbitrary script code in a user’s browser. Attackers can craft a malicious URL that redirects users to an unintended external site or carries an XSS payload, potentially stealing session cookies, defacing the interface, or redirecting to a phishing page.

Affected Systems

The vulnerable product is Remix Run’s React Router. Any application that uses the affected version ranges listed above and permits open redirects is impacted.

Risk and Exploitability

The CVSS score is 6.9, indicating high severity. The EPSS score is 0.00335 (<1%), and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a user to click a crafted link, so the attack vector is user interaction; however, because the redirect can load arbitrary domains, phishing or cross‑site scripting attacks are possible.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade React Router to version 7.13.0 or later.
  • If an upgrade is not immediately possible, disable or restrict open‑redirect functionality and validate redirect destinations to ensure they point only to trusted domains.
  • Deploy a strong Content‑Security‑Policy that blocks script execution from untrusted sources.

Generated by OpenCVE AI on August 3, 2026 at 15:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jjmj-jmhj-qwj2 React Router: Open redirect leading to XSS
History
Type Values Removed Values Added
References
Metrics threat_severity

None

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Remix-run
Remix-run react-router
Vendors & Products Remix-run
Remix-run react-router
Type Values Removed Values Added
Description React Router is a router for React. In versions 6.30.2 through 6.30.4 and 7.9.6 through 7.12.0, applications that allow open redirects are vulnerable to XSS. An attacker could craft a malicious link that redirects users to an unexpected external site or that exploits an XSS vector.This issue has been fixed in version 7.13.0.
Title React Router: Open redirect can lead to XSS
Weaknesses CWE-601
CWE-79
References
Metrics cvssV3_1

{'score': 6.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N'}

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 28, 2026, 1:44 PM
Reserved
Jun 9, 2026, 8:50 PM
Status
Analyzed
Published
Jul 27, 2026, 10:17 PM
Modified
Oct 24, 2026, 1:10 PM
Severity
Moderate
Public date
Jul 27, 2026, 9:42 PM