CVE-2026-22029React Router vulnerable to XSS via Open Redirects
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.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | grafana | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-client | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-client-common | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-client-encrypted-dns | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-client-epn | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-client-samba | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-common | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-selinux | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-selinux-luna | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-selinux-nfast | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-server | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-server-common | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-server-dns | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-server-encrypted-dns | Not affected | ||
| Red Hat Enterprise Linux 10 | ipa-server-trust-ad | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-ipaclient | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-ipalib | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-ipaserver | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-ipatests | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-client | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-client-common | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-client-encrypted-dns | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-client-epn | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-client-samba | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-common | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-selinux | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-selinux-luna | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-selinux-nfast | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-server | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-server-common | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-server-dns | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-server-encrypted-dns | Not affected | ||
| Red Hat Enterprise Linux 9 | ipa-server-trust-ad | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-ipaclient | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-ipalib | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-ipaserver | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-ipatests | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet5.0-build-reference-packages | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs-snmp | Not affected | ||
| npm library | @remix-run/router | Fixed | 1.23.2 | GHSA-2w69-qvjg-hvjx |
| npm library | react-router | Fixed | 7.12.0 | GHSA-2w69-qvjg-hvjx |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- remix-run react-router: affected: >= 7.0.0, < 7.12.0
- remix-run @remix-run/router: affected: < 1.23.2
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.