GitHub Advisoryadvisory · npm
GHSA-8646-j5j9-6r62 React Router vulnerable to XSS in unstable RSC redirect handling via javascript: redirect targets
HIGH
Official page ↗
- Aliases
- CVE-2026-33245
- Ecosystem
- npm
- Packages
- react-router
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2026-06-03
Affected packages
• npm react-router: >= 7.7.0, < 7.13.2 → fixed in 7.13.2
Description
When using React Router v7's unstable RSC APIs, there exists a potential client-side XSS issue in the RSC redirect handling if redirects are coming from untrusted sources
> [!NOTE]
> This only impacts your application if you are using the unstable RSC APIs in React Router.
Related
Alias · CVE (1)
- CVE-2026-33245 React Router is a router for React. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness