CVE-2026-53663: React Router Low Severity CSRF Vulnerability in PUT/PATCH/DELETE Requests

react-router Updated 15 Jun 2026

Summary

15/06/2026
Yes i
Low
3.1

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for react-router.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback