MODERATE 6.0

CVE-2026-139999

React Router: Cross-scheme CSRF bypass in Origin validation

Description

A flaw in React Router’s server-side origin validation may allow cross-site request forgery under certain deployment and session configurations, potentially enabling unauthorized actions on behalf of authenticated users.

Affected Modes: Framework, RSC Data (unstable), and RSC Framework (unstable).

Exploitation depends on the application’s deployment, authentication cookie configuration, and use of server-side actions.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.mvnpm » react-routervia npm react-router
>= 7.12.0, < 7.18.3>= 8.0.0, < 8.3.1
7.18.3, 8.3.1
org.webjars » react-routervia npm react-router
>= 7.12.0, < 7.18.3>= 8.0.0, < 8.3.1
7.18.3, 8.3.1
org.webjars.npm » react-routervia npm react-router
>= 7.12.0, < 7.18.3>= 8.0.0, < 8.3.1
7.18.3, 8.3.1

Blast radius

2affected artifacts
21affected versions
3dependent artifacts (est.)
65dependent versions

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

DepthDependent versions
Direct
65

Most used dependents

Computed from the dependency graph of build 20261202.0245 (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 (1 package) . See all on OSV