Vulnerability · Published Jul 27, 2026 · Assigned by GitHub_M
CVE-2026-53668React Router: Open redirect can lead to XSS
Medium 6.9
In plain English
A medium-severity open redirect in react-router from remix-run. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | react-router | 7.13.0 | GHSA-jjmj-jmhj-qwj2 |
| npm | react-router-dom | 6.30.6 | GHSA-jjmj-jmhj-qwj2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| remix-run | react-router | >= 6.30.2, <= 6.30.4>= 7.9.6, < 7.13.0 |
Weakness: CWE-601, CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/remix-run/react-router/security/advisories/GHSA-jjmj-jmhj-qwj2 x_refsource_CONFIRM
- https://github.com/remix-run/react-router/pull/14718 x_refsource_MISC
- https://github.com/remix-run/react-router/commit/3a5b5ad0e5cf9918c646509563f5c41a89226ff3 x_refsource_MISC
- https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180 x_refsource_MISC
- https://github.com/remix-run/react-router/releases/tag/react-router@7.18.0 x_refsource_MISC