Remix-run react-router
React Router vulnerable to XSS in unstable RSC redirect handling via javascript: redirect targets
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.0high · scored by CNA · CWE-79
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
remix-run react-router
- >= 7.7.0, < 7.13.2
Fixed in 7.13.2
Mitigation
Upgrade react-router to 7.13.2 or later.
References
- Vendor advisory github.com/remix-run/react-router/security/adv…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.