CVE-2026-33245
react-router: React Router: Cross-Site Scripting vulnerability via untrusted React Server Component redirects
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 3, 2026
Updated · November 1, 2026
Description
A flaw was found in React Router. This vulnerability, a type of Cross-Site Scripting (XSS), affects applications utilizing React Router's unstable React Server Components (RSC) APIs. A remote attacker could exploit this by sending untrusted redirects, leading to the execution of malicious scripts in the client's browser. This could result in information disclosure or unauthorized actions.
Statement
This vulnerability is rated as Moderate impact for Red Hat products because successful exploitation requires an application to implement experimental React Server Components features alongside unvalidated external navigation targets. Red Hat web applications and management consoles typically utilize standard routing interfaces and do not consume arbitrary, user-controlled navigation paths within server-driven components. Consequently, supported deployments are not exposed to client-side script execution through this vector under typical usage.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this Cross-Site Scripting (XSS) vulnerability, ensure that applications utilizing React Router's unstable React Server Components (RSC) APIs only process redirects from trusted sources. Avoiding the use of these unstable APIs in production environments where untrusted redirect sources cannot be guaranteed is also recommended.
CVSS / CWE
CVSS 3.1 · 4.2CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
CWE-79 · Improper Neutralization of Input During Web Page Generation