Packages / react-router / Security
ModerateVulnerabilityGHSA-h8fp-f39c-q6mhCVE-2026-53667Published 23 Jul 2026
React Router: RSCErrorHandler Missing Protocol Validation (XSS)
Affected releases · react-router
- 7.x7.11.0 – 7.17.0Fixed in 7.18.0
On 7.x, the newest line:
npm install react-router@7.18.08.x
Not affected
8.0.0 – 8.5.0
8 releases, latest
7.x
Not affected
7.0.0 – 7.10.1
35 releases
Affected
7.11.0 – 7.17.0
12 releases
Fixed
7.18.0 – 7.18.4
5 releases
Is your project affected?
Paste your package.json, or type the range you declare for react-router. It is read in your browser and sent nowhere.
What happens
This is a follow up to github.com/remix-run/react-router/security/advi…. React Router was alerted of a code path in the (unstable) RSC error handling path in which redirects from untrusted sources could still result in an XSS vector via attacker-supplied redirect targets
[!NOTE] This only affects your application if you are using the unstable RSC APIs