Client-side XSS Vulnerability in React Router Affects React Applications
CVE-2026-33245
8HIGH
What is CVE-2026-33245?
A client-side Cross-Site Scripting (XSS) vulnerability exists in React Router versions 7.7.0 through 7.13.1, specifically when utilizing unstable React Server Components (RSC) APIs. This weakness can arise during redirect handling if the redirects are sourced from untrusted origins, potentially enabling attackers to execute malicious scripts in a user's browser. Applications that do not employ the unstable RSC APIs in React Router are not affected. The issue has been resolved in version 7.13.2, which users should upgrade to in order to mitigate this vulnerability.
Affected Version(s)
react-router >= 7.7.0, < 7.13.2
