React Router: Cross-scheme CSRF bypass in Origin validation
- CVE-2026-139999
- GHSA-8wpx-2pj4-ggvx
- EUVD-2026-139698
Description
React Router is a router for React. From 7.12.0 until 7.18.3 and 8.3.1, React Router's server-side origin validation may allow cross-site request forgery in Framework, unstable RSC Data, and unstable RSC Framework modes. Exploitation depends on the application's deployment, authentication cookie configuration, and use of server-side actions, and can enable unauthorized actions on behalf of authenticated users. This issue is fixed in versions 7.18.3 and 8.3.1.
Text from the CVE.org record.
Recommendation
react-router
- If you run a version from 8.0.0 to before 8.3.1update to 8.3.1 or laterMinor version change: check the release notesreact-router 8.3.1 on its registry (opens in a new tab)
- If you run a version from 7.12.0 to before 7.18.3update to 7.18.3 or laterMinor version change: check the release notesreact-router 7.18.3 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
remix-run react-router
Affected versions Fixed in >= 7.12.0, < 7.18.3 none stated >= 8.0.0, < 8.3.1 none stated react-routernpm
Affected versions Fixed in from 8.0.0 to before 8.3.1 8.3.1 from 7.12.0 to before 7.18.3 7.18.3
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.