GHSA-h5cw-625j-3rxh
React Router has CSRF issue in Action/Server Action Request Processing
At a glance
- Published
- Updated
- CVE
- CVE-2026-22030
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Description
React Router (or Remix v2) is vulnerable to CSRF attacks on document POST requests to UI routes when using server-side route `action` handlers in [Framework Mode](https://reactrouter.com/start/modes#framework), or when using React Server Actions in the new unstable RSC modes. > [!NOTE] > This does not impact your application if you are using [Declarative Mode](https://reactrouter.com/start/modes#declarative) (`<BrowserRouter>`) or [Data Mode](https://reactrouter.com/start/modes#data) (`createBrowserRouter`/`<RouterProvider>`).
Affected packages
| Package | Versions |
|---|---|
| npm · react-router | introduced 7.0.0, fixed 7.12.0 |
| npm · @remix-run/server-runtime | introduced 0, fixed 2.17.3 |
References
- https://github.com/remix-run/react-router/security/advisories/GHSA-h5cw-625j-3rxh WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22030 ADVISORY
- https://github.com/remix-run/react-router PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |