CVE-2026-22029: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in remix-run react-router
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.
AI Analysis
Technical Summary
React Router and @remix-run/router versions prior to 1.23.2 and react-router versions 7.0.0 through 7.11.0 contain a cross-site scripting vulnerability (CWE-79) due to improper neutralization of input during web page generation. Specifically, SPA open navigation redirects originating from loaders or actions in Framework Mode, Data Mode, or unstable RSC modes can produce unsafe URLs that lead to unintended JavaScript execution on the client side. This vulnerability is exploitable only when redirect paths are constructed from untrusted input or open redirects. Declarative Mode (<BrowserRouter>) is not affected. The issue has been patched in @remix-run/router 1.23.2 and react-router 7.12.0. The CVSS v3.1 base score is 8.0, indicating high severity, with network attack vector, high attack complexity, no privileges required, user interaction required, and scope changed. The impact includes high confidentiality and integrity loss but no availability impact. Red Hat advisories confirm the vulnerability and note that mitigation options are limited outside of upgrading to fixed versions.
Potential Impact
Successful exploitation of this vulnerability can lead to execution of unauthorized JavaScript code in the context of the affected web application, potentially allowing attackers to steal sensitive information such as session cookies, manipulate application data, or perform actions on behalf of users. The vulnerability affects confidentiality and integrity of user data but does not impact availability. The risk is significant if redirect paths are created from untrusted sources or open redirects are present. Applications using Declarative Mode (<BrowserRouter>) are not impacted. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available and users are strongly advised to upgrade to @remix-run/router version 1.23.2 or later and react-router version 7.12.0 or later. Red Hat advisories indicate that mitigation options other than upgrading do not meet their criteria for ease of use and applicability. Therefore, upgrading to the fixed versions is the recommended remediation. If upgrading is not immediately possible, avoid creating redirect paths from untrusted content or open redirects to reduce exposure.
CVE-2026-22029: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in remix-run react-router
Description
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.
CVSS v3.1
Score 8.0high
Affected software
remix-run
react-router
remix-run
@remix-run/router
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
React Router and @remix-run/router versions prior to 1.23.2 and react-router versions 7.0.0 through 7.11.0 contain a cross-site scripting vulnerability (CWE-79) due to improper neutralization of input during web page generation. Specifically, SPA open navigation redirects originating from loaders or actions in Framework Mode, Data Mode, or unstable RSC modes can produce unsafe URLs that lead to unintended JavaScript execution on the client side. This vulnerability is exploitable only when redirect paths are constructed from untrusted input or open redirects. Declarative Mode (<BrowserRouter>) is not affected. The issue has been patched in @remix-run/router 1.23.2 and react-router 7.12.0. The CVSS v3.1 base score is 8.0, indicating high severity, with network attack vector, high attack complexity, no privileges required, user interaction required, and scope changed. The impact includes high confidentiality and integrity loss but no availability impact. Red Hat advisories confirm the vulnerability and note that mitigation options are limited outside of upgrading to fixed versions.
Potential Impact
Successful exploitation of this vulnerability can lead to execution of unauthorized JavaScript code in the context of the affected web application, potentially allowing attackers to steal sensitive information such as session cookies, manipulate application data, or perform actions on behalf of users. The vulnerability affects confidentiality and integrity of user data but does not impact availability. The risk is significant if redirect paths are created from untrusted sources or open redirects are present. Applications using Declarative Mode (<BrowserRouter>) are not impacted. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available and users are strongly advised to upgrade to @remix-run/router version 1.23.2 or later and react-router version 7.12.0 or later. Red Hat advisories indicate that mitigation options other than upgrading do not meet their criteria for ease of use and applicability. Therefore, upgrading to the fixed versions is the recommended remediation. If upgrading is not immediately possible, avoid creating redirect paths from untrusted content or open redirects to reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-01-05T22:30:38.718Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-22029","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3959","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3958","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:5633","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8229","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2572","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13548","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:1517","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2350","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2568","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3960","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2694","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3782","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19712","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:21658","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:20042","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:20041","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17469","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17468","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17474","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2456","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2147","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2148","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2149","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26420","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26413","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3087","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13542","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:9848","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:5636","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8218","vendor":"Red Hat"}]
Threat ID: 6961c40f19784dcf52ace86d
Added to database: 01/10/2026, 03:14:23 UTC
Last enriched: 08/17/2026, 13:12:29 UTC
Last updated: 09/10/2026, 19:46:16 UTC
Views: 253
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.