Skip to main content

React Router EUVDEUVD-2026-49629

| CVE-2026-53667 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-23 https://github.com/remix-run/react-router GHSA-h8fp-f39c-q6mh
6.1
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI
6.9 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
SUSE
8.2 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Red Hat
6.9 MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Aug 03, 2026 - 14:07 NVD
6.9 (MEDIUM) 6.1 (MEDIUM)
Source Code Evidence Fetched
Jul 23, 2026 - 20:02 vuln.today
Analysis Generated
Jul 23, 2026 - 20:02 vuln.today
CVE Published
Jul 23, 2026 - 19:35 github-advisory
MEDIUM 6.9

Blast Radius

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

Ecosystem-wide dependent count for version 7.11.0.

DescriptionNVD

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

AnalysisAI

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.

Technical ContextAI

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.

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.

Vendor 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

Share

EUVD-2026-49629 vulnerability details – vuln.today

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