要点
- CVE-2025-68470 是影响 react-router (shopify), react-router 的中危 (CVSS 6.5)漏洞。
- 未来 30 天内被利用的概率(EPSS):0.49%,高于 42.3% 的漏洞。
- 修复:升级到 6.30.2, 7.9.6 或更高版本。
| Package | Affected versions | Patched versions |
|---|
| react-router | ≥ 6.0.0, ≤ 6.30.1≥ 7.0.0, ≤ 7.9.5
| No fix yet |
| react-router npm | ≥ 6.0.0, < 6.30.2≥ 7.0.0, < 7.9.6
| 6.30.27.9.6
|
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.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free