react-router
Affected
- introduced
7.12.0, fixed7.15.1(semver)
Fixed versions
7.15.1
Fix
- Fixed version
7.15.1npm install [email protected]
Advisory
Also known as: CVE-2026-53663
React Router: Potential CSRF via PUT/PATCH/DELETE document requests
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>).
Low Basis: The source's own band: LOW
7.12.0, fixed 7.15.1 (semver)7.15.1
7.15.1npm install [email protected]2.17.3, fixed 2.17.5 (semver)2.17.5
2.17.5npm 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