GHSA-84g9-w2xq-vcv6
React Router: Potential CSRF via PUT/PATCH/DELETE document requests
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-53663
- CVSS_V3
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
Description
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](https://reactrouter.com/start/modes#framework) (`<BrowserRouter>`) or [Data Mode](https://reactrouter.com/start/modes#data) (`createBrowserRouter`/`<RouterProvider>`).
Paquets affectés
| Paquet | Versions |
|---|---|
| npm · react-router | introduced 7.12.0, fixed 7.15.1 |
| npm · @remix-run/server-runtime | introduced 2.17.3, fixed 2.17.5 |
Références
- https://github.com/remix-run/react-router/security/advisories/GHSA-84g9-w2xq-vcv6 WEB
- https://github.com/remix-run/react-router PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |