Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker controls RSC data source
-
DeliveryInject javascript: URL as redirect target
-
ExploitVictim visits RSC-rendered route
-
ExecutionRSCErrorHandler processes unvalidated redirect
-
PersistBrowser executes attacker JavaScript
-
ImpactSession/credential exfiltration
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 three concrete conditions to be simultaneously true: (1) the application must be using the explicitly opt-in unstable RSC APIs in React Router (this is a non-default, experimental feature - standard React Router deployments using stable APIs are not affected); (2) the attacker must control or influence the redirect target value returned via the RSC data/error path, meaning the application fetches or processes redirect destinations from an untrusted external source within RSC components; and (3) a victim user must visit the affected route and trigger the RSC error handler (UI:R). Exploitation is limited to React Router versions 7.11.0-7.17.x. Applications on stable APIs, on versions below 7.11.0, or already upgraded to 7.18.0 are not exploitable. |
| Impact | The CVSS 3.1 score of 6.9 (AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N) correctly reflects the high complexity constraint - exploitation requires the application to be running with the explicitly opt-in unstable RSC APIs enabled, which is a non-default, pre-production feature as of the affected version range. No EPSS data was supplied; without it, exploitation probability cannot be quantified numerically. KEV status is absent, and no public exploit code is identified, making this a medium real-world priority despite the High confidentiality impact from scope change. The most significant limiting factor is the requirement for unstable RSC API usage, which restricts exposure to early-adopter or cutting-edge deployments rather than the broad React Router install base. The scope change (S:C) is justified because successful XSS escapes the application's trust boundary to the victim's browser session. Risk is real for RSC early adopters but negligible for the majority of the install base using stable APIs. |
| Exploit ScenarioDerived | An attacker who can influence the redirect target returned by an untrusted RSC data source (e.g., a server-rendered component fetching from an attacker-controlled API) supplies a javascript: scheme URL as the redirect destination. When a victim user navigates to the affected route and triggers the RSC error handling path, the RSCErrorHandler either sets window.location.href to the javascript: URL (executing attacker JS in the page context) or emits a meta http-equiv='refresh' tag pointing to it (triggering script execution in browsers that honor such redirects). No public proof-of-concept code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Cross-site scripting in React Router's unstable RSC (React Server Components) error handling path allows network-based attackers to execute arbitrary JavaScript in a victim's browser via attacker-controlled redirect targets. Affected are React Router npm versions 7.11.0 through 7.17.x when the unstable RSC APIs are explicitly enabled; the vulnerability arises because the RSCErrorHandler component failed to validate the protocol of redirect URLs before assigning them to window.location.href or injecting them into a meta http-equiv='refresh' tag. This is a follow-up to GHSA-8646-j5j9-6r62, indicating the prior fix left a residual code path unvalidated. No public exploit code or CISA KEV listing is identified at time of analysis.
RemediationAI
Upgrade react-router to version 7.18.0 or later; this is the vendor-confirmed patched release per the GitHub advisory GHSA-h8fp-f39c-q6mh and CHANGELOG at https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180. The fix is implemented via commit ce596e823f0d7b883a433af1d5a839a8b9fe0242 (PR #15177). If an immediate upgrade is not possible, the most effective workaround is to disable or avoid use of the unstable RSC APIs entirely, as the vulnerability is exclusively in that code path; removing RSC API usage eliminates exposure with no other functional trade-off for stable-API consumers. There is no known in-place configuration knob to harden the RSCErrorHandler without patching.
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 v7 (pkg:npm/react-router) introduced experimental React Server Components (RSC) support. The RSCErrorHandler component in packages/react-router/lib/hooks.tsx is responsible for handling redirect responses that surface as errors from the RSC render pipeline. In the vulnerable code path, redirect targets sourced from untrusted RSC responses were parsed and passed directly - without protocol validation - to window.location.href (client-side) and to a meta http-equiv='refresh' content attribute (server-side no-JS path). CWE-79 (Improper Neutralization of Input During Web Page Generation, XSS) applies because attacker-supplied values like 'javascript:...' or 'about:' scheme URLs were reflected into execution contexts without sanitization. The fix imports hasInvalidProtocol from the router module and applies it before any URL is consumed, blocking non-http(s) schemes in redirect targets.
Know when the next one hits your stack
- 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:L/PR:N/UI:R/S:C/C:L/I:L/A:N
AC:H reflects the non-default unstable RSC API requirement; S:C and C:H reflect XSS scope escape with session-theft potential; I:L for limited DOM manipulation; A:N as availability is unaffected.
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
This is a follow up to https://github.com/remix-run/react-router/security/advisories/GHSA-8646-j5j9-6r62. React Router was alerted of a code path in the (unstable) RSC error handling path in which redirects from untrusted sources could still result in an XSS vector via attacker-supplied redirect targets
> [!NOTE] > This only affects your application if you are using the unstable RSC APIs
Blast Radius
ecosystem impact- 21 npm packages depend on react-router (6 direct, 15 indirect)
Ecosystem-wide dependent count for version 7.11.0.
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.
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Not-Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Not-Affected |
| SUSE Linux Enterprise Server 16.0 | Not-Affected |
| SUSE Linux Enterprise Server 16.1 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Not-Affected |
| SUSE Manager Client Tools 15 | Not-Affected |
| SUSE Manager Client Tools for SLE 15 | Not-Affected |
| SUSE Multi-Linux Manager Client Tools for SLE 15 | Not-Affected |
| openSUSE Leap 16.0 | Not-Affected |
| openSUSE Leap 16.0 | Affected |
| openSUSE Leap 16.0 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Manager Proxy LTS 4.3 | Not-Affected |
| SUSE Manager Proxy Module 4.3 | Not-Affected |
| SUSE Enterprise Storage 6 | Not-Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Not-Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Not-Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Manager Proxy Module 4.1 | Not-Affected |
| SUSE Manager Proxy Module 4.2 | Not-Affected |
| openSUSE Leap 15.3 | Not-Affected |
| openSUSE Leap 15.4 | Not-Affected |
| openSUSE Leap 15.5 | Not-Affected |
| openSUSE Leap 15.6 | Not-Affected |
| SUSE Multi Linux Manager Tools SLE-15 | Not-Affected |
| ses/7.1/ceph/prometheus-server ses/7/ceph/prometheus-server suse/multi-linux-manager/5.2/x86_64/monitoring-prometheus | Not-Affected |
EUVD-2026-49629
GHSA-h8fp-f39c-q6mh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB