Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Lifecycle Timeline
2Blast Radius
ecosystem impact- 7 npm packages depend on react-router (3 direct, 4 indirect)
Ecosystem-wide dependent count for version 7.0.0.
DescriptionCVE.org
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.
AnalysisAI
Client-side Cross-Site Scripting in React Router 7.7.0 through 7.13.1 affects applications using the unstable React Server Components (RSC) APIs, where redirect handling fails to sanitize destinations originating from untrusted sources. An attacker who can influence redirect targets consumed by RSC handlers may inject script payloads that execute in the victim's browser, with no public exploit identified at time of analysis. The advisory is published as GHSA-rxv8-25v2-qmq8 and the issue is fixed in 7.13.2.
Technical ContextAI
React Router is the dominant client-side routing library for React applications, maintained by Remix Run, and the affected code path lives in its experimental React Server Components integration. RSC redirects are serialized server-to-client instructions that tell the client runtime to navigate to a new URL; in the affected versions the redirect target is trusted without validation, which is the structural pattern behind CWE-770 (Allocation of Resources Without Limits or Throttling) as classified, though the practical effect described by the maintainers is reflected XSS via attacker-controlled redirect destinations (e.g., javascript: URIs or markup that becomes part of a client-rendered context). The CPE data covers cpe:2.3:a:remix-run:react-router and cpe:2.3:a:remix-run:turbo-stream, the latter being the streaming serialization library RSC builds on, suggesting the unsafe handling traverses both packages.
RemediationAI
Vendor-released patch: React Router 7.13.2 - upgrade react-router (and any pinned turbo-stream dependency resolved through it) to 7.13.2 or later as the primary fix, per https://github.com/remix-run/react-router/security/advisories/GHSA-rxv8-25v2-qmq8. If immediate upgrade is not possible, stop sourcing RSC redirect targets from untrusted input: validate any redirect URL against an allowlist of same-origin paths and reject non-http(s) schemes such as javascript:, data:, and vbscript: before passing them to the RSC redirect helper, accepting the trade-off that legitimate cross-origin redirects will need to be enumerated. Teams not yet in production with RSC can also disable or avoid the unstable RSC APIs entirely until they upgrade, which removes the attack surface at the cost of losing RSC functionality.
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
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
Client-side cross-site scripting in React Router 7.7.0 through 7.13.1 allows remote attackers to execute arbitrary scrip
Vendor StatusVendor
SUSE
Severity: HighShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-33994
GHSA-rxv8-25v2-qmq8