Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. react-router
  4. ›
  5. CVE-2025-43865

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

April 24, 2025 (updated January 16, 2026)

After some research, it turns out that 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. Latest versions are impacted.

References

  • github.com/advisories/GHSA-cpj6-fhp6-mr6j
  • github.com/remix-run/react-router
  • github.com/remix-run/react-router/blob/e6c53a0130559b4a9bd47f9cf76ea5b08a69868a/packages/react-router/lib/server-runtime/routes.ts
  • github.com/remix-run/react-router/commit/c84302972a152d851cf5dd859ff332b354b70111
  • github.com/remix-run/react-router/security/advisories/GHSA-cpj6-fhp6-mr6j
  • nvd.nist.gov/vuln/detail/CVE-2025-43865

Code Behaviors & Features

Detect and mitigate CVE-2025-43865 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 7.0.0-pre.0 before 7.5.2

Fixed versions

  • 7.5.2

Solution

Upgrade to version 7.5.2 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Source file

npm/react-router/CVE-2025-43865.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:42 +0000.