CVE-2026-22029: React Router vulnerable to XSS via Open Redirects

Published Jan 8, 2026
·
Updated

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

5 affected componentsFixes available
npm/@remix-run/router<=1.23.1
1.23.2
npm/react-router>=7.0.0<=7.11.0
7.12.0
Shopify Remix-run\/react Node.js<1.23.2
Shopify React-router Node.js>=7.0.0<=7.11.0
IBM watsonx.data intelligence<=5.2.0, 5.2.1, 5.3.0, 5.3.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/@remix-run/router to a version that resolves this vulnerability.

    Fixed in 1.23.2
  2. Upgrade

    Upgrade npm/react-router to a version that resolves this vulnerability.

    Fixed in 7.12.0
  3. Upgrade

    Upgrade @remix-run/router to a version that resolves this vulnerability.

    Fixed in 1.23.2
  4. Upgrade

    Upgrade react-router to a version that resolves this vulnerability.

    Fixed in 7.12.0

Event History

Jan 8, 2026
Advisory Published
via GitHub·08:54 PM
Data Sourced
via GitHub·08:54 PM
DescriptionSeverityWeaknessAffected Software
Jan 10, 2026
CVE Published
via MITRE·02:42 AM
Data Sourced
via MITRE·02:42 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
Affected Software
Data Sourced
via Red Hat·04:01 AM
DescriptionSeverityAffected Software
Apr 27, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

Is there a known exploit for CVE-2026-22029?

As of now, there are no publicly disclosed exploits specifically targeting CVE-2026-22029.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203