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

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

January 8, 2026 (updated January 11, 2026)

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 developers pass untrusted content into navigation paths in their application code.

References

  • github.com/advisories/GHSA-9jcx-v3wj-wh4m
  • github.com/remix-run/react-router
  • github.com/remix-run/react-router/security/advisories/GHSA-9jcx-v3wj-wh4m
  • nvd.nist.gov/vuln/detail/CVE-2025-68470

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.0.0 before 6.30.2, all versions starting from 7.0.0 before 7.9.6

Fixed versions

  • 6.30.2
  • 7.9.6

Solution

Upgrade to versions 6.30.2, 7.9.6 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 04 Feb 2026 00:35:14 +0000.