Skip to content
Heist/ feed
Back to feed
Medium

React Router has CSRF issue in Action/Server Action Request Processing

Type: advisorySources: OSV

React Router is a router for React. In @remix-run/server-runtime version prior to 2.17.3. and react-router 7.0.0 through 7.11.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. There is no impact if Declarative Mode () or Data Mode (createBrowserRouter/) is being used. This issue has been patched in @remix-run/server-runtime version 2.17.3 and react-router version 7.12.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-22030
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:54 UTC · Revision 1

Source evidence

React Router has CSRF issue in Action/Server Action Request Processing

core-osv · Original source

Published 10 Jan 2026, 02:42 UTC

React Router is a router for React. In @remix-run/server-runtime version prior to 2.17.3. and react-router 7.0.0 through 7.11.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. There is no impact if Declarative Mode () or Data Mode (createBrowserRouter/) is being used. This issue has been patched in @remix-run/server-runtime version 2.17.3 and react-router version 7.12.0.

osv:CVE-2026-22030
Complete source record
{
  "id": "4b7229d6b92fa8d8f665140ff8afef0f1f90406061f6d8f47744746f0a243312",
  "url": "https://osv.dev/vulnerability/CVE-2026-22030",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "React Router has CSRF issue in Action/Server Action Request Processing",
    "summary": "React Router is a router for React. In @remix-run/server-runtime version prior to 2.17.3. and react-router 7.0.0 through 7.11.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. There is no impact if Declarative Mode () or Data Mode (createBrowserRouter/) is being used. This issue has been patched in @remix-run/server-runtime version 2.17.3 and react-router version 7.12.0.",
    "evidence": "osv:CVE-2026-22030",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-22030",
      "aliases": [
        "CVE-2026-22030",
        "GHSA-h5cw-625j-3rxh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/remix-run/react-router",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e8e3b004d94a949372e77ce97a543bff5bc6fb89"
                },
                {
                  "last_affected": "b34a9cd1f74231ded97c1e6ca9dff8f09a1b87ca"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "last_affected": "7.11.0"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "cpe": "cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "last_affected": "7.11.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22030.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.172899663Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22030.json",
        "https://github.com/remix-run/react-router/security/advisories/GHSA-h5cw-625j-3rxh",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-22030"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-346",
          "CWE-352"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "@remix-run/router < 2.17.3"
                  },
                  {
                    "last_affected": "@remix-run/router < 2.17.3"
                  },
                  {
                    "introduced": "react-router  >= 7.0.0, < 7.12.0"
                  },
                  {
                    "last_affected": "react-router  >= 7.0.0, < 7.12.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2.17.3"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22030.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-22030",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494765,
  "published_at": "2026-01-10T02:42:44.603+00:00"
}