NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-22030: React Router has CSRF issue in Action/Server Action Request Processing

mediumCVSS 3.1 6.5GHSA-h5cw-625j-3rxh

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 ( ) or Data Mode (createBrowserRouter/ ).

Published Jan 8, 2026 · Updated Jun 9, 2026

Affected packages

react-router

Ecosystem
npm
Affected
>= 7.0.0, <= 7.11.0
Fixed in
7.12.0
Check
npm ls react-router

@remix-run/server-runtime

Ecosystem
npm
Affected
<= 2.17.2
Fixed in
2.17.3
Check
npm ls @remix-run/server-runtime

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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>).

Credited to Oceandust.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries