CVE-2026-34077

React Router vulnerable to Denial of Service via reflected user input in single-fetch

Published Jun 2, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
React Router is a router for React. In versions 7.7.0 through 7.13.1, when using React Router's unstable React Server Components (RSC) APIs, there is a potential client-side Cross-Site Scripting (XSS) vulnerability in the RSC redirect handling if redirects come from untrusted sources. This does not impact applications that are not using the unstable RSC APIs in React Router. This is patched in version 7.13.2.

Analysis

AI-generated

Technical impact

React Router versions 7.7.0 through 7.13.1 contain a client‑side XSS vulnerability that is triggered when redirects from untrusted sources are processed by the unstable React Server Components APIs. An attacker can inject malicious JavaScript into the browser session of a user who follows a crafted link, potentially exposing sensitive data or enabling phishing attacks. The flaw stems from improper handling of redirect URLs and is classified as CWE‑79.

Affected Systems

The affected products are remix‑run:react‑router and remix‑run:turbo‑stream, with versions 7.7.0 through 7.13.1 impacted. The issue is resolved in version 7.13.2 and newer releases.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity rating. An EPSS score of <1% suggests that, while the vulnerability can be exploited, its likelihood remains low. The flaw is not listed in the CISA KEV catalog. Exploitation requires a web application that employs the unstable RSC APIs and an attacker who delivers a crafted redirect target. Because the flaw is client‑side, the attack can be initiated simply by opening a malicious link, but the impact is limited to the victim’s browser session. Until updated to a fixed release, installations using the vulnerable versions are at risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade React Router to version 7.13.2 or later to fix the redirect handling bug.
  • Disable or remove usage of the unstable React Server Components APIs in React Router if they are not required for your application.
  • Validate any redirect URLs in the client code to accept only trusted origins before rendering them in the browser.

Generated by OpenCVE AI on June 11, 2026 at 02:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rxv8-25v2-qmq8 React Router vulnerable to Denial of Service via reflected user input in single-fetch
History
Type Values Removed Values Added
First Time appeared Shopify
Shopify react-router
Turbo-stream
Turbo-stream turbo Stream
CPEs cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:*
cpe:2.3:a:turbo-stream:turbo_stream:*:*:*:*:*:node.js:*:*
Vendors & Products Shopify
Shopify react-router
Turbo-stream
Turbo-stream turbo Stream
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Remix-run
Remix-run react-router
Remix-run turbo-stream
Vendors & Products Remix-run
Remix-run react-router
Remix-run turbo-stream
Type Values Removed Values Added
Description React Router is a router for React. In versions 7.7.0 through 7.13.1, when using React Router's unstable React Server Components (RSC) APIs, there is a potential client-side Cross-Site Scripting (XSS) vulnerability in the RSC redirect handling if redirects come from untrusted sources. This does not impact applications that are not using the unstable RSC APIs in React Router. This is patched in version 7.13.2.
Title React Router vulnerable to Denial of Service via reflected user input in single-fetch
Weaknesses CWE-770
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 3, 2026, 1:19 PM
Reserved
Mar 25, 2026, 4:21 PM
Status
Analyzed
Published
Jun 2, 2026, 8:16 PM
Modified
Jul 22, 2026, 7:10 PM
Severity
Moderate
Public date
Jun 2, 2026, 5:31 PM