All vulnerabilities

npm

CVE-2026-139999

React Router: Cross-scheme CSRF bypass in Origin validation

Severity
Medium
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
7.18.3, 8.3.1
Exploit chance
0.6% in the next 30 daysHigher than 49% of CVEs. EPSS by FIRST, 1 Dec 2026
Weakness
Cross-site request forgery (CWE-352)
Also known as
GHSA-8wpx-2pj4-ggvx
Sources
OSV.dev and GitHub

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.

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
react-routernpm · osv:npm:react-router
  • From 7.12.0 before 7.18.3
  • From 8.0.0 before 8.3.1

About react-router

Weekly downloads (npm)
75,148,114npm, 1 Dec 2026

References