2026-06-22 17:39CVE-2026-53663GitHub_M
PUBLISHED5.2CWE-352

React Router: `handleDocumentRequest` CSRF check covers `POST` only; PUT/PATCH/DELETE bypass

React Router is a router for React. From 7.12.0 until 7.15.1, certain CSRF checks in React Router v7 Framework Mode were insufficient and run on POST requests, but were bypassed on PUT/PATCH/DELETE requests. This is a low severity vulnerability because modern browser protections (CORS preflight, SameSite cookies) already block the cross-origin attack vectors that this missing CSRF check would otherwise gate. This vulnerability is fixed in 7.15.1.

Problem type

Affected products

remix-run

react-router

>= 7.12.0, < 7.15.1 - AFFECTED

@remix-run

server-runtime

>= 2.17.3, < 2.17.5 - AFFECTED

References

GitHub Security Advisories

GHSA-84g9-w2xq-vcv6

React Router: Potential CSRF via PUT/PATCH/DELETE document requests

https://github.com/advisories/GHSA-84g9-w2xq-vcv6

Certain CSRF checks in React Router v7 Framework Mode were insufficient and run on POST requests, but were bypassed on PUT/PATCH/DELETE requests. This is a low severity vulnerability because modern browser protections (CORS preflight, SameSite cookies) already block the cross-origin attack vectors that this missing CSRF check would otherwise gate.

[!NOTE] This does not impact your React Router application if you are using Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>).

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-53663
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-53663",
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "dateUpdated": "2026-06-22T19:52:50.287Z",
    "dateReserved": "2026-06-09T20:50:36.877Z",
    "datePublished": "2026-06-22T17:39:29.160Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M",
        "dateUpdated": "2026-06-22T17:39:29.160Z"
      },
      "title": "React Router: `handleDocumentRequest` CSRF check covers `POST` only; PUT/PATCH/DELETE bypass",
      "descriptions": [
        {
          "lang": "en",
          "value": "React Router is a router for React. From 7.12.0 until 7.15.1, certain CSRF checks in React Router v7 Framework Mode were insufficient and run on POST requests, but were bypassed on PUT/PATCH/DELETE requests. This is a low severity vulnerability because modern browser protections (CORS preflight, SameSite cookies) already block the cross-origin attack vectors that this missing CSRF check would otherwise gate. This vulnerability is fixed in 7.15.1."
        }
      ],
      "affected": [
        {
          "vendor": "remix-run",
          "product": "react-router",
          "versions": [
            {
              "version": ">= 7.12.0, < 7.15.1",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "@remix-run",
          "product": "server-runtime",
          "versions": [
            {
              "version": ">= 2.17.3, < 2.17.5",
              "status": "affected"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-352: Cross-Site Request Forgery (CSRF)",
              "cweId": "CWE-352",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/remix-run/react-router/security/advisories/GHSA-84g9-w2xq-vcv6",
          "name": "https://github.com/remix-run/react-router/security/advisories/GHSA-84g9-w2xq-vcv6",
          "tags": [
            "x_refsource_CONFIRM"
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N",
            "attackVector": "NETWORK",
            "attackComplexity": "HIGH",
            "privilegesRequired": "NONE",
            "userInteraction": "REQUIRED",
            "scope": "UNCHANGED",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "availabilityImpact": "NONE",
            "baseScore": 3.1,
            "baseSeverity": "LOW"
          }
        }
      ]
    },
    "adp": [
      {
        "providerMetadata": {
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP",
          "dateUpdated": "2026-06-22T19:52:50.287Z"
        },
        "title": "CISA ADP Vulnrichment",
        "metrics": [
          {}
        ]
      }
    ]
  }
}