CVE-2026-53668Published Jul 27, 2026 · Jul 27Updated Oct 28
React Router: Open redirect can lead to XSS
remix-run react-router
Medium6.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| react-router-dom npm |
|
|
| react-router npm |
|
|
remix-run react-router
| Product | Affected | Fixed in |
|---|---|---|
| react-router-dom npm |
|
|
| react-router npm |
|
|
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.
From the CVE record · GitHub_M
React Router applications that allow open redirects are vulnerable to XSS in the affected package versions. An attacker can craft a malicious link that, if a user follows it, redirects them to an unexpected external site or exploits an XSS vector.
Check applications using npm react-router-dom versions >=6.30.2 and <6.30.6 or react-router versions >=7.9.6 and <7.13.0.