React Router: Cross-scheme CSRF bypass in Origin validation
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| remix-runreact-router | — | Not listed |
| npmreact-router |
≥ 8.0.0, < 8.3.1→ 8.3.1 |
8.3.1 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com