Skip to main content

React Router CVE-2026-53663

| EUVDEUVD-2026-38338 LOW
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-06-15 https://github.com/remix-run/react-router GHSA-84g9-w2xq-vcv6
3.1
CVSS 3.1 · Vendor: https://github.com/remix-run/react-router
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Victim navigates to attacker-controlled page
  2. Delivery
    Page issues cross-origin PUT/PATCH/DELETE request to Framework Mode endpoint
  3. Exploit
    React Router server skips CSRF validation for non-POST methods
  4. Execution
    Server executes state-changing action under victim session
  5. Impact
    Victim data modified without consent

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation is scoped exclusively to React Router v7 applications running in Framework Mode - not Declarative Mode or Data Mode. The vulnerable code path is triggered only by cross-site document requests using the PUT, PATCH, or DELETE HTTP methods. For the missing CSRF check to represent a meaningful control gap, at least one of the following ambient browser protections must be absent or defeated: (1) the session cookie must be set with SameSite=None (overriding the modern browser default of SameSite=Lax), or (2) the application's CORS policy must explicitly permit credentialed cross-origin requests from the attacker's origin. User interaction is required - the victim must visit or be redirected to an attacker-controlled page that issues the cross-site request. The attacker requires no authentication. What limits real-world exploitation: SameSite=Lax is the default in all major modern browsers, CORS preflight blocks cross-origin non-simple method requests unless explicitly allowed, and no public exploit code exists at time of analysis.

Impact

The CVSS 3.1 score of 3.1 (Low) is well-calibrated here. The vector AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N correctly captures the high attack complexity: modern browsers apply SameSite=Lax by default (blocking cross-site cookies on non-GET requests) and enforce CORS preflight for cross-origin non-simple requests, making the missing CSRF check largely redundant in standard deployment configurations. No EPSS data was provided in the input, so exploitation probability cannot be quantified numerically. There is no CISA KEV listing and no public proof-of-concept identified at time of analysis. The vendor advisory itself characterizes the severity as low precisely because of these layered browser mitigations. Real priority for this CVE is modest: it represents a defense-in-depth gap rather than an independently exploitable weakness in typical modern-browser environments. Teams running Framework Mode with explicitly SameSite=None cookies or permissive cross-origin CORS policies face meaningfully higher residual risk.

Exploit ScenarioDerived

An attacker crafts a malicious web page that issues a cross-origin PUT or DELETE request targeting a Framework Mode route on a React Router v7 application where the victim holds an authenticated session. Because the server omits CSRF validation for these HTTP methods, the server-side action executes the mutation as though the request were legitimate - potentially modifying or deleting victim-owned data. In practice, the attack fails against most modern-browser users unless their session cookie is explicitly set to SameSite=None or the application's CORS policy grants the attacker's origin credentialed access.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 15, 2026

Incomplete CSRF protection in React Router v7 Framework Mode leaves PUT, PATCH, and DELETE document requests unguarded while POST requests are correctly validated. Applications running react-router 7.12.0-7.15.0 or @remix-run/server-runtime 2.17.3-2.17.4 in Framework Mode are the exclusive attack surface - Declarative and Data Mode deployments are unaffected. Real-world exploitability is substantially constrained by modern browser defaults (SameSite=Lax cookies, CORS preflight), meaning successful exploitation requires a browser or cookie configuration that bypasses these ambient controls; no public exploit code exists and this vulnerability is not in CISA KEV.

RemediationAI

Upgrade react-router to version 7.15.1 or later and @remix-run/server-runtime to version 2.17.5 or later; both fix versions are confirmed in the official GitHub Security Advisory GHSA-84g9-w2xq-vcv6 at https://github.com/remix-run/react-router/security/advisories/GHSA-84g9-w2xq-vcv6. For teams that cannot patch immediately, ensure session cookies are set with SameSite=Lax or SameSite=Strict - this is the browser default in Chrome, Firefox, and Safari and effectively blocks the cross-site cookie delivery that CSRF exploits rely on. Additionally, verify that the application's CORS configuration does not allow credentialed requests from untrusted cross-origin sources; a permissive Access-Control-Allow-Origin combined with Access-Control-Allow-Credentials: true would undermine both the browser's ambient protections and the missing CSRF check. Neither of these compensating controls has adverse side effects in standard Framework Mode deployments.

Affected VersionsENISA

react-router 7.12.0, < 7.15.1
server-runtime 2.17.3, < 2.17.5

Affected Packages

npm @remix-run/server-runtime fix: 2.17.5
npm react-router fix: 7.15.1
euvd server_runtime_2_17_3 fix: 2.17.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

React Router v7 Framework Mode is the full-stack server-rendering mode that handles server actions and loaders - distinct from the client-only Declarative Mode (<BrowserRouter>) and the data-fetching-only Data Mode (createBrowserRouter). The CSRF guard (CWE-352) in the affected server runtime was implemented only for HTTP POST document requests; PUT, PATCH, and DELETE methods - which are equally capable of triggering server-side mutations - were not subjected to the same validation. The flaw resides in the @remix-run/server-runtime package (CPE: pkg:npm/@remix-run_server-runtime), which underpins the react-router Framework Mode server (CPE: pkg:npm/react-router). The root cause is an incomplete method-coverage gap in the CSRF middleware rather than a fundamentally broken token implementation.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/remix-run/react-router) PRIMARY 3.1 LOW
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
vuln.today AI 3.1 LOW

AV:N for cross-origin web delivery; AC:H because ambient browser SameSite/CORS controls must be absent for exploitation; UI:R for required victim interaction; I:L as impact is limited integrity modification only.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/remix-run/react-router).

CVSS VectorVendor: https://github.com/remix-run/react-router

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

DescriptionCVE.org

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>).

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

16
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +16
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy