Skip to main content

React Router EUVDEUVD-2026-33988

| CVE-2026-33245 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-02 GitHub_M GHSA-8646-j5j9-6r62
4.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Identify app using React Router RSC APIs
  2. Delivery
    Plant attacker-controlled redirect target (e.g., javascript: URI) in upstream source
  3. Exploit
    Lure victim to trigger redirect flow
  4. Execution
    RSC redirect handler processes untrusted target client-side
  5. Persist
    Script executes in application origin
  6. Impact
    Steal session tokens or act as user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

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 to be true: the target application must be running react-router 7.7.0 through 7.13.1; it must have opted into the unstable React Server Components (RSC) APIs (an explicit, non-default choice flagged as unstable by the maintainers); the RSC redirect handler must receive a redirect target sourced from data the attacker can influence (e.g., a user-supplied query parameter, a third-party identity provider, or external content); and a victim must interact with the malicious flow (UI:R in the CVSS vector - typically clicking a crafted link or completing a redirect-driven action). High attack complexity (AC:H) reflects that the attacker must both find an untrusted redirect source feeding the RSC API and coax the victim through it; applications that do not use RSC, or that only redirect to server-controlled values, are not exploitable.

Impact

The CVSS 3.1 base score of 8.0 (AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N) reflects an unauthenticated network attack with high complexity and required user interaction that crosses a security scope boundary, consistent with reflected/DOM XSS against an embedding origin. Real-world risk is materially reduced because the vulnerable surface is the explicitly unstable RSC API, which only a small subset of bleeding-edge React Router adopters has enabled; mainstream client- and server-side routing deployments are unaffected. EPSS and CISA KEV data were not provided in the input, and no public exploit identified at time of analysis, so prioritization should be driven by whether the application has opted into RSC and accepts redirect targets from untrusted upstream sources, rather than by the headline CVSS alone.

Exploit ScenarioDerived

An attacker who controls or can influence an upstream redirect source (for example, a third-party OAuth callback, a CMS-stored next-URL parameter, or an open-redirect on a trusted origin) returns a redirect whose target is a javascript: URI. A victim using a React Router 7.7.0-7.13.1 app with the unstable RSC APIs clicks a crafted link or workflow, the RSC redirect handler processes the untrusted target on the client, and the script executes in the application's origin, enabling session theft or actions on behalf of the user. No public exploit identified at time of analysis, but the pattern is well understood and trivial to reproduce once a vulnerable RSC route is identified.

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

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

Alert me

AnalysisAIv1 – Jun 02, 2026

Client-side cross-site scripting in React Router 7.7.0 through 7.13.1 allows remote attackers to execute arbitrary script in a victim's browser when the application uses the unstable React Server Components (RSC) APIs and processes redirects originating from untrusted sources. The flaw is patched in 7.13.2; no public exploit identified at time of analysis and the vulnerability does not affect deployments that do not opt into the RSC APIs.

RemediationAI

Vendor-released patch: upgrade react-router to 7.13.2 or later, which corrects the RSC redirect handling per advisory GHSA-8646-j5j9-6r62 (https://github.com/remix-run/react-router/security/advisories/GHSA-8646-j5j9-6r62). If immediate upgrade is not possible, the most direct compensating control is to stop using the unstable RSC APIs until patched, since the rest of the router is unaffected; alternatively, validate every redirect target before passing it into the RSC redirect helpers by allow-listing same-origin paths or http(s) absolute URLs and rejecting javascript:, data:, and vbscript: schemes, accepting the trade-off that any legitimate cross-scheme redirect flow will need to be re-architected. Tightening a Content-Security-Policy to forbid inline script execution (no unsafe-inline, no javascript: in navigate-to) will blunt exploitation but may break existing inline handlers and should be tested in staging.

Affected VersionsENISA

react-router 7.7.0, < 7.13.2

Affected Packages

npm react-router fix: 7.13.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package 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 de facto routing library for React single-page and server-rendered applications, maintained by Remix (cpe:2.3:a:remix-run:react-router). The issue resides in the unstable React Server Components (RSC) redirect handling code path, which serializes redirect targets received from the server and re-emits them on the client. Because that target was not sanitized or constrained to safe URL schemes (e.g., http/https), an attacker-controlled redirect value can carry an executable payload such as a javascript: URI, fulfilling the CWE-79 (Improper Neutralization of Input During Web Page Generation) pattern as a DOM-style XSS sink reached via navigation rather than via rendered markup.

Know when React Router 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

NVD PRIMARY 4.7 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
SUSE 4.2 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Red Hat 4.2 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

3
Severity Changed
Jul 22, 2026 - 19:22 NVD
HIGH MEDIUM
CVSS changed
Jul 22, 2026 - 19:22 NVD
8.0 (HIGH) 4.7 (MEDIUM)
Patch available
Jun 02, 2026 - 21:02 EUVD

DescriptionNVD

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.

Blast Radius

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

Ecosystem-wide dependent count for version 7.7.0.

Executive ViewAI

Why It Matters

React Router versions 7.7.0 through 7.13.1 contain a client-side cross-site scripting vulnerability that could allow attackers to execute malicious code in users' browsers if they follow untrusted redirect links. Organizations using React Router are at risk of credential theft, session hijacking, and unauthorized account activity, particularly if their applications implement the unstable React Server Components APIs. Upgrading to version 7.13.2 immediately eliminates this attack vector.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
1
1 source
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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.0%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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-2026-42211 HIGH POC
8.1 Jun 02

Remote code execution in React Router 7.0.0 through 7.14.1 affects applications running in Framework Mode by chaining an

CVE-2026-42342 HIGH POC
7.5 Jun 02

Denial of service in React Router 7.0.0-7.14.x and @remix-run/server-runtime 2.10.0-2.17.4 allows remote unauthenticated

CVE-2026-34077 HIGH POC
7.5 Jun 02

Client-side Cross-Site Scripting in React Router 7.7.0 through 7.13.1 affects applications using the unstable React Serv

CVE-2026-40181 MEDIUM POC
6.6 Jun 02

Open redirect in React Router's programmatic `redirect()` function allows unauthenticated remote attackers to redirect u

CVE-2026-21884 HIGH
8.2 Jan 10

React Router is a router for React. In @remix-run/react version prior to 2.17.3. [CVSS 8.2 HIGH]

CVE-2025-59057 HIGH
7.6 Jan 10

React Router is a router for React. In @remix-run/react versions 1.15.0 through 2.17.0. [CVSS 7.6 HIGH]

CVE-2025-68470 MEDIUM
6.5 Jan 10

React-Router versions up to 6.30.1 is affected by url redirection to untrusted site (open redirect) (CVSS 6.5).

CVE-2026-22030 MEDIUM
6.5 Jan 10

React Router is a router for React. In @remix-run/server-runtime version prior to 2.17.3. [CVSS 6.5 MEDIUM]

CVE-2026-22029 MEDIUM
6.1 Jan 10

React Router is a router for React. In @remix-run/router version prior to 1.23.2. [CVSS 8.0 HIGH]

CVE-2026-33244 MEDIUM
5.4 Jun 02

Cross-site scripting in React Router's Framework Mode (versions 7.5.1-7.13.1) allows an authenticated attacker with infl

Vendor StatusVendor

SUSE

Severity: Medium

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