Skip to content
Heist/ feed
Back to feed
Medium

React Router has unexpected external redirect via untrusted paths

Type: advisorySources: OSV

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(), , 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-68470
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 19:04 UTC · Revision 1

Source evidence

React Router has unexpected external redirect via untrusted paths

core-osv · Original source

Published 10 Jan 2026, 02:39 UTC

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(), , 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.

osv:CVE-2025-68470
Complete source record
{
  "id": "2a9ca4e6813d8ca1bead142d56acd9107239baa0ecc5178465ca17c0472d7aa5",
  "url": "https://osv.dev/vulnerability/CVE-2025-68470",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "React Router has unexpected external redirect via untrusted paths",
    "summary": "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(), , 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.",
    "evidence": "osv:CVE-2025-68470",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-68470",
      "aliases": [
        "CVE-2025-68470",
        "GHSA-9jcx-v3wj-wh4m"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/remix-run/react-router",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e8e3b004d94a949372e77ce97a543bff5bc6fb89"
                },
                {
                  "fixed": "e75da95e16ecf625f4e3bbc864b1a0a5202052c2"
                },
                {
                  "introduced": "d85c049b22670a691e2ce6d4d6009c2b6aef4933"
                },
                {
                  "fixed": "26b5d4581fb2829dc7eaeaad413de4735173a6eb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "fixed": "7.9.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "6.0.0"
                      },
                      {
                        "fixed": "6.30.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68470.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.691011240Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68470.json",
        "https://github.com/remix-run/react-router/security/advisories/GHSA-9jcx-v3wj-wh4m",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-68470"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-601"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68470.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-68470",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498605,
  "published_at": "2026-01-10T02:39:41.078+00:00"
}