react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
6.30.6 is the newest release of 6.x.
In short
4 new1 fixed
Security
2 advisories affect 6.1.0; 7.18.0 fixes them
- ModerateReact Router: Open redirect via backslash in <Link> and useNavigate (CVE-2025-68470 bypass)GHSA-wrjc-x8rr-h8h6 · 23 Jul 2026Fixed in 7.18.0
- ModerateReact Router has unexpected external redirect via untrusted pathsGHSA-9jcx-v3wj-wh4m · 8 Jan 2026Fixed in 6.30.2
Release note
Bug fixes
Fixed a bug that broke support for base64 encoded IDs on nested routes
Features
<Outlet>can now receive acontextprop. This value is passed to child routes and is accessible via the newuseOutletContexthook. See the API docs for details.<NavLink>can now receive a child function for access to its props.
Enhancements
Improved TypeScript signature for
useMatchandmatchPath. For example, when you calluseMatch("foo/:bar/:baz"), the path is parsed and the return type will bePathMatch<"bar" | "baz">.A few error message improvements
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.