GHSA-9jcx-v3wj-wh4m

React Router has unexpected external redirect via untrusted paths

En bref

Publiée
Mise à jour
CVE
CVE-2025-68470
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Description

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.

Paquets affectés

PaquetVersions
npm · react-routerintroduced 6.0.0, fixed 6.30.2
npm · react-routerintroduced 7.0.0, fixed 7.9.6

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database