CVE-2026-53663: React Router Low Severity CSRF Vulnerability in PUT/PATCH/DELETE Requests
Summary
CVE-2026-53663: React Router: Potential CSRF via PUT/PATCH/DELETE document requests. Affects react-router versions >= 7.12.0, < 7.15.1. Fixed in 7.15.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
React Router is a popular routing library for React applications, enabling developers to create dynamic single-page applications with ease. It provides various modes, including Framework Mode, Declarative Mode, and Data Mode, each catering to different use cases. This vulnerability specifically affects the Framework Mode, where certain CSRF checks are insufficient for PUT, PATCH, and DELETE requests, potentially exposing applications to cross-site request forgery attacks.
Vulnerability Detail
The vulnerability arises from inadequate CSRF checks in React Router v7 Framework Mode, which only apply to POST requests. This oversight allows PUT, PATCH, and DELETE requests to bypass these checks, creating a potential attack vector. However, the severity is classified as low due to modern browser protections like CORS preflight and SameSite cookies that mitigate cross-origin attack risks. The vulnerability is identified as CWE-352, indicating a weakness in CSRF protection.
How To Fix
Latest published version: 8.5.0 as of 23 Oct 2026
npm install react-router@8.5.0
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
7.15.1
This is the first release that contains the fix.
npm install react-router@7.15.1
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
If immediate upgrading is not feasible, consider implementing additional CSRF protection measures in your application, such as validating CSRF tokens for all state-changing requests (PUT, PATCH, DELETE) manually.
Conclusion
In summary, CVE-2026-53663 is a low severity CSRF vulnerability affecting React Router's Framework Mode, specifically for PUT, PATCH, and DELETE requests. While modern browser protections mitigate the risk, it is advisable to update to the latest patched versions of the affected packages to ensure robust security.
See every vulnerability recorded for react-router →
FAQ
The CVSS score of this vulnerability is 3.1, indicating a low severity level.
React Router versions from 7.12.0 to 7.15.0 are affected by this vulnerability.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup at Vulert Scanner.
If exploited, this vulnerability could allow attackers to perform unauthorized actions on behalf of users, potentially compromising user data and application integrity.
Yes, this vulnerability does not impact applications using Declarative Mode or Data Mode in React Router.
References
Related vulnerabilities
Recent vulnerabilities recorded for react-router.