CVE-2025-43865 Details
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.
A vulnerability in React Router's server-side rendering (SSR) framework mode allows for the spoofing of pre-rendered data. This issue is present in versions 7.0.0 through 7.5.1. By adding a specific header, 'X-React-Router-Prerender-Data', to the request, an attacker can modify the data object values passed to the HTML. The vulnerability arises when a page loader is used, enabling the manipulation of the response data, which could lead to cache poisoning and potential cross-site scripting (XSS) attacks, depending on how the data is handled on the client side.
Users can upgrade to React Router version 7.5.2 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 25, 2025CISA-ADP
Assessed Apr 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-345 | Insufficient Verification of Data Authenticity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| remix-run react-router | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 25, 2025 | New CVE Received | [email protected] |
Volerion