CVE-2026-53667

React Router: Cross-site Scripting is Possible due to Missing RSCErrorHandler Protocol Validation (Incomplete fix for CVE-2026-53667)

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 7.11.0 through 7.17.0, the RSCErrorHandler is missing protocol validation, allowing for redirects from untrusted sources. This issue is a follow up to CVE-2026-53667, and only affects consuming applications if they are using the unstable RSC APIs. This issue has been fixed in version 7.18.0.

Analysis

AI-generated

Technical impact

The vulnerability resides in the RSCErrorHandler of React Router, which lacks protocol validation. This deficiency enables redirects originating from untrusted sources, leading to Cross‑Site Scripting attacks. The weakness corresponds to CWE‑79 and can grant attackers the ability to inject malicious scripts or force navigation to attacker‑controlled domains. The impact is limited to applications that consume React Router through unstable RSC APIs, but when exploited it can compromise confidentiality and integrity of user data within the affected application.

Affected Systems

The affected vendor is remix‑run, product React Router. Versions from 7.11.0 up to and including 7.17.0 are vulnerable; the issue was addressed in 7.18.0. Any deployment relying on the unstable RSC APIs in those releases is at risk.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. EPSS score is <1%, and the vulnerability is not listed in the CISA KEV catalog. Likely attackers can exploit the flaw by crafting a malicious redirect URL that is processed by the RSCErrorHandler; however, the vulnerability only manifests when an application relies on the unstable RSC APIs, reducing its broad applicability. The attack vector is inferred to be via a manipulated redirect origin rather than an arbitrary exploitation surface.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to React Router version 7.18.0 or later, which includes proper protocol validation for the RSCErrorHandler.
  • Identify and review any usage of the unstable RSC APIs in your codebase; avoid them if possible or restrict the accepted protocols explicitly.
  • Add explicit input validation on any redirect URLs processed by the application, ensuring only trusted protocols and domains are allowed.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-h8fp-f39c-q6mh React Router: RSCErrorHandler Missing Protocol Validation (XSS)
History
Type Values Removed Values Added
Weaknesses CWE-601
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 7.11.0 through 7.17.0, the RSCErrorHandler is missing protocol validation, allowing for redirects from untrusted sources. This issue is a follow up to CVE-2026-53667, and only affects consuming applications if they are using the unstable RSC APIs. This issue has been fixed in version 7.18.0.
Title React Router: Cross-site Scripting is Possible due to Missing RSCErrorHandler Protocol Validation (Incomplete fix for CVE-2026-53667)
Weaknesses 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:51 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:21 PM