Skip to main content
← All vulnerabilities
CVE-2026-22029GHSA-2W69-QVJG-HVJX

React Router vulnerable to XSS via Open Redirects

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.12.0, 1.23.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

React Router is a router for React. In @remix-run/router version prior to 1.23.2 and react-router 7.0.0 through 7.11.0, React Router (and Remix v1/v2) SPA open navigation redirects originating from loaders or actions in Framework Mode, Data Mode, or the unstable RSC modes can result in unsafe URLs causing unintended javascript execution on the client. This is only an issue if you are creating redirect paths from untrusted content or via an open redirect. There is no impact if Declarative Mode (<BrowserRouter>) is being used. This issue has been patched in @remix-run/router version 1.23.2 and react-router version 7.12.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • remix-run react-router

    From 7.0.0 · fixed in 7.12.0

  • remix-run @remix-run/router

    fixed in 1.23.2

  • react-routernpm

    From 7.0.0 · fixed in 7.12.0

  • @remix-run/routernpm

    fixed in 1.23.2

References 1

GitHub · remix-run/react-router