6.5Medium

CVE-2025-68470React Router has unexpected external redirect via untrusted paths

remix-run react-router Published: (10 months ago)

Description

React Router is a router for React. In versions 6.0.0 through 6.30.1 and 7.0.0 through 7.9.5, an attacker-supplied path can be crafted so that when a React Router application navigates to it via navigate(), <Link>, or redirect(), the app performs a navigation/redirect to an external URL. This is only an issue if you are passing untrusted content into navigation paths in your application code. This issue has been patched in versions 6.30.2 and 7.9.6.

Weakness (CWE): CWE-601

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
remix-run react-router >= 7.0.0, < 7.9.6, >= 6.0.0, < 6.30.2
shopify react-router 6.0.0 – ≤ 6.30.1

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:* ≥ 6.0.0 ≤ 6.30.1
  • cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:* ≥ 7.0.0 ≤ 7.9.5