NetSight
high8.0

CVE-2026-22029

React Router vulnerable to XSS via Open Redirects

Impact

React Router (and Remix v1/v2) SPA open navigation redirects originating from loaders or actions in [Framework Mode](https://reactrouter.com/start/modes#framework), [Data Mode](https://reactrouter.com/start/modes#data), 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](https://reactrouter.com/start/modes#declarative) (`<BrowserRouter>`).

Affected packages

EcosystemPackageAffectedFixed in
npmreact-router>= 7.0.0, <= 7.11.07.12.0
npm@remix-run/router<= 1.23.11.23.2

Affected products

VendorProductAffected versions
ShopifyRemix-Run\/React
before 1.23.2
ShopifyReact-Router
from 7.0.0 through 7.11.0

Weakness classification

References