react-router
Affected
- introduced
7.0.0, fixed7.12.0(semver)
Fixed versions
7.12.0
Fix
- Fixed version
7.12.0npm install [email protected]
Advisory
Also known as: CVE-2026-22030
React Router has CSRF issue in Action/Server Action Request Processing
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, 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 (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>).
Medium Basis: The source's own band: MODERATE
7.0.0, fixed 7.12.0 (semver)7.12.0
7.12.0npm install [email protected]0, fixed 2.17.3 (semver)2.17.3
2.17.3npm install @remix-run/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0