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)
| Artifact | Affected versions | Fixed 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
0% of the dependent artifacts (0) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 194 |
| 2 hops | 1 |
Most used dependents
- org.mvnpm » react-router-dom19 usages
- org.webjars.npm » react-router-dom14 usages
- org.mvnpm » react-router9 usages
- org.webjars.npm » react-router9 usages
- org.mvnpm.at.remix-run » server-runtime2 usages
- org.mvnpm » zudoku0 usages
- org.mvnpm.at.remix-run » react0 usages
- org.mvnpm.at.remix-run » node0 usages
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
References
| Advisory | NVD CVE-2026-22029 | nvd.nist.gov |
| Package | remix-run/react-router | github.com |
| Web | remix-run/react-router advisory GHSA-2w69-qvjg-hvjx | github.com |
