CVE-2026-22029: React Router vulnerable to XSS via Open Redirects
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 developers are creating redirect paths from untrusted content or via an open redirect.
> [!NOTE] > This does not impact applications that use Declarative Mode (<BrowserRouter>).
Other sources
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.
— MITRE
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.
— NVD
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.
— IBM
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/@remix-run/routerto a version that resolves this vulnerability.Fixed in 1.23.2 - Upgrade
Upgrade
npm/react-routerto a version that resolves this vulnerability.Fixed in 7.12.0 - Upgrade
Upgrade
@remix-run/routerto a version that resolves this vulnerability.Fixed in 1.23.2 - Upgrade
Upgrade
react-routerto a version that resolves this vulnerability.Fixed in 7.12.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-22029?
CVE-2026-22029 is classified as a high severity vulnerability due to its potential to cause open navigation redirects.
How do I fix CVE-2026-22029?
To mitigate CVE-2026-22029, upgrade to @remix-run/router version 1.23.2 or react-router version 7.12.0.
What kind of applications are affected by CVE-2026-22029?
CVE-2026-22029 affects applications using React Router and Remix framework in Framework Mode, Data Mode, or unstable RSC modes.
What are the risks associated with CVE-2026-22029?
The risks of CVE-2026-22029 include the potential for attackers to exploit open redirects, leading to phishing attacks or user information compromise.
Is there a known exploit for CVE-2026-22029?
As of now, there are no publicly disclosed exploits specifically targeting CVE-2026-22029.