Cross-site Request Forgery (CSRF) Affecting react-router package, versions >=7.12.0 <8.3.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-REACTROUTER-18313151
  • published26 Jul 2026
  • disclosed24 Jul 2026
  • creditraditya

Introduced: 24 Jul 2026

New CVE NOT AVAILABLE CWE-352  (opens in a new tab)

How to fix?

Upgrade react-router to version 8.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via the unstable RSC APIs. An attacker can execute unauthorized actions by tricking a user into submitting crafted requests.

Note: This is only exploitable if the unstable RSC APIs are enabled in the application.

CVSS Base Scores

version 4.0
version 3.1