Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app using React Router RSC APIs
-
DeliveryPlant attacker-controlled redirect target (e.g., javascript: URI) in upstream source
-
ExploitLure victim to trigger redirect flow
-
ExecutionRSC redirect handler processes untrusted target client-side
-
PersistScript executes in application origin
-
ImpactSteal 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
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- 11 npm packages depend on react-router (8 direct, 3 indirect)
Ecosystem-wide dependent count for version 7.7.0.
Executive ViewAI
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in React Router
View allRemote code execution in React Router 7.0.0 through 7.14.1 affects applications running in Framework Mode by chaining an
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
Client-side Cross-Site Scripting in React Router 7.7.0 through 7.13.1 affects applications using the unstable React Serv
Open redirect in React Router's programmatic `redirect()` function allows unauthenticated remote attackers to redirect u
React Router is a router for React. In @remix-run/react version prior to 2.17.3. [CVSS 8.2 HIGH]
React Router is a router for React. In @remix-run/react versions 1.15.0 through 2.17.0. [CVSS 7.6 HIGH]
React-Router versions up to 6.30.1 is affected by url redirection to untrusted site (open redirect) (CVSS 6.5).
React Router is a router for React. In @remix-run/server-runtime version prior to 2.17.3. [CVSS 6.5 MEDIUM]
React Router is a router for React. In @remix-run/router version prior to 1.23.2. [CVSS 8.0 HIGH]
Cross-site scripting in React Router's Framework Mode (versions 7.5.1-7.13.1) allows an authenticated attacker with infl
EUVD-2026-33988
GHSA-8646-j5j9-6r62
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB