CVE-2025-43865
HIGH 8.2CVSS 3.1React Router allows pre-render data spoofing on React-Router framework mode
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.
- Published
- 25 Apr 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-345
- Also known as
- GHSA-cpj6-fhp6-mr6j
- Sources
- NVDJSONOSV GHSA-cpj6-fhp6-mr6jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | react-router | >= 7.0.0-pre.0, < 7.5.2 | 7.5.2 |
References
- https://github.com/remix-run/react-router/blob/e6c53a0130559b4a9bd47f9cf76ea5b08a69868a/packages/react-router/lib/server-runtime/routes.ts#L87 · WEB
- https://github.com/remix-run/react-router/commit/c84302972a152d851cf5dd859ff332b354b70111 · WEB
- https://github.com/remix-run/react-router/security/advisories/GHSA-cpj6-fhp6-mr6j · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-43865 · ADVISORY
- https://github.com/remix-run/react-router · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 25 Apr 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Apr 2025)