CVE-2026-22029: React 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.
Security readout for executives and security teams
Plain-English summary
Affected React applications can execute attacker-controlled JavaScript when unsafe redirect destinations reach certain client-side navigation flows. Exploitation requires user interaction and an application that builds redirects from untrusted input or permits open redirects. Applications using only Declarative Mode with BrowserRouter are not affected.
Executive priority
Prioritize remediation for public applications that combine affected versions with user-influenced redirects. Patch promptly because successful exploitation can compromise user data and application actions. BrowserRouter-only deployments can be deprioritized after their routing mode is verified.
Technical view
CVE-2026-22029 is a CWE-79 client-side XSS issue in SPA navigation redirects returned by loaders or actions in Framework Mode, Data Mode, or unstable RSC modes. It affects react-router 7.0.0 through 7.11.0, @remix-run/router before 1.23.2, and relevant Remix v1/v2 usage described by the advisory.
Likely exposure
Exposure is most likely in internet-facing applications using affected versions and non-Declarative routing modes where loader or action redirects incorporate untrusted content. Risk is substantially reduced when redirect destinations are strictly controlled. BrowserRouter-only Declarative Mode applications are explicitly unaffected.
Exploitation context
The CVSS score is 8.0, with network reachability, high attack complexity, no required privileges, and required user interaction. The supplied sources do not establish active exploitation, and the CVE is not listed as KEV in the source bundle.
Researcher notes
The vulnerability is conditional rather than universal: affected routing mode, an unsafe redirect source, and user interaction are required. CVSS indicates changed scope with high confidentiality and integrity impact but no availability impact. The bundle does not provide exploit telemetry or evidence of active exploitation.
Mitigation direction
Upgrade react-router to version 7.12.0 or later.
Upgrade @remix-run/router to version 1.23.2 or later.
Review vendor guidance for affected Remix v1/v2 applications.
Restrict redirects to explicitly allowlisted local destinations.
Stop constructing redirect paths from untrusted content.
Validation and detection
Inventory deployed react-router, @remix-run/router, and Remix versions.
Identify applications using Framework Mode, Data Mode, or unstable RSC modes.
Review loader and action redirects for untrusted destination input.
Confirm production dependency resolution contains the patched versions.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
42Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.