medium6.9
CVE-2026-53668
React Router: Open redirect leading to XSS
Impact
React Router is a router for React. In versions 6.30.2 through 6.30.4 and 7.9.6 through 7.12.0, applications that allow open redirects are vulnerable to XSS. An attacker could craft a malicious link that redirects users to an unexpected external site or that exploits an XSS vector.This issue has been fixed in version 7.13.0.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | react-router | >= 7.9.6, <= 7.12.0 | 7.13.0 |
| npm | react-router-dom | >= 6.30.2, <= 6.30.5 | 6.30.6 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Shopify | React-Router | from 6.30.2 through 6.30.4 from 7.9.6 before 7.13.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-jjmj-jmhj-qwj2
- https://github.com/remix-run/react-router/security/advisories/GHSA-jjmj-jmhj-qwj2
- https://github.com/remix-run/react-router/pull/14718
- https://github.com/remix-run/react-router/commit/3a5b5ad0e5cf9918c646509563f5c41a89226ff3
- https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180
- https://github.com/remix-run/react-router/releases/tag/react-router@7.18.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-53668
- https://github.com/remix-run/react-router/blob/v6/CHANGELOG.md#v6306
- https://github.com/remix-run/react-router/releases/tag/react-router@6.30.6