HIGH 8.0

CVE-2026-22029

React Router vulnerable to XSS via Open Redirects

Description

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

Affected Maven artifacts (5)

ArtifactAffected versionsFixed in
org.mvnpm » react-routervia npm react-router
>= 7.0.0, < 7.12.0
7.12.0
org.mvnpm.at.remix-run » routervia npm @remix-run/router
< 1.23.2
1.23.2
org.webjars » react-routervia npm react-router
>= 7.0.0, < 7.12.0
7.12.0
org.webjars.npm » react-routervia npm react-router
>= 7.0.0, < 7.12.0
7.12.0
org.webjars.npm » remix-run__routervia npm @remix-run/router
< 1.23.2
1.23.2

Blast radius

4affected artifacts
66affected versions
8dependent artifacts (est.)
195dependent versions

0% of the dependent artifacts (0) still pull an affected version in their latest release.

DepthDependent versions
Direct
194
2 hops
1

Most used dependents

Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (2 packages) . See all on OSV