Vulnerability · Published Apr 25, 2025 · Assigned by GitHub_M

CVE-2025-43865React Router allows pre-render data spoofing on React-Router framework mode

High 8.2

In plain English

A high-severity insufficient verification of data authenticity in react-router from remix-run. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)0.8%top 42.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

React Router is a router for React. In versions on the 7.0 branch prior to version 7.5.2, it's possible to modify pre-rendered data by adding a header to the request. This allows to completely spoof its contents and modify all the values ​​of the data object passed to the HTML. This issue has been patched in version 7.5.2.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmreact-router7.5.2GHSA-cpj6-fhp6-mr6j

Affected products (as reported)

VendorProductVersions
remix-run react-router >= 7.0, < 7.5.2

Weakness: CWE-345 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

References