NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

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

highCVSS 3.1 8.0GHSA-2w69-qvjg-hvjx

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 ( ).

Published Jan 8, 2026 · Updated Jan 11, 2026

Affected packages

react-router

Ecosystem
npm
Affected
>= 7.0.0, <= 7.11.0
Fixed in
7.12.0
Check
npm ls react-router

@remix-run/router

Ecosystem
npm
Affected
<= 1.23.1
Fixed in
1.23.2
Check
npm ls @remix-run/router

Advisory details

From the GitHub Advisory Database (CC BY 4.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 developers are creating redirect paths from untrusted content or via an open redirect.

[!NOTE] > This does not impact applications that use Declarative Mode (<BrowserRouter>).

Credited to Oceandust.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries