React Router: Cross-scheme CSRF bypass in Origin validation
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| npm:react-router | >= 7.12.0, < 7.18.3 | 7.18.3 |
| npm:react-router | >= 8.0.0, < 8.3.1 | 8.3.1 |
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.
Read on GitHub Advisory Database
Get these alerts on XExploits, big breaches and outages, with what to do.
Follow @vulnpulse_appOn 12/02/2026, 03:27 AM, GitHub Advisory Database published "React Router: Cross-scheme CSRF bypass in Origin validation" (type: Advisory). Severity is "Medium" (medium). Related technologies: JavaScript / Node.js, React. CVE: CVE-2026-139999.