react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 7.6.0 to 7.6.1
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 6
- fixes
Security
13 advisories still affect 7.6.1
- React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretationmoderate · GHSA-2j2x-hqr9-3h42
- React Router vulnerable to XSS via Open Redirectshigh · GHSA-2w69-qvjg-hvjx
- React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydrationmoderate · GHSA-337j-9hxr-rhxg
Upgrading to 7.18.0 clears them.
Release by release
- Fixed
Update
Route.MetaArgsto reflect thatdatacan be potentiallyundefined - Fixed
Partially revert optimization added in
7.1.4to reduce calls tomatchRoutesbecause it surfaced other issues - Fixed
Fix typegen when same route is used at multiple paths
- Fixed
Better types for
params - Fixed
Avoid initial fetcher execution 404 error when Lazy Route Discovery is interrupted by a navigation
- Fixed
Href replaces splats
*
- Fixed
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.