react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 6.14.1 to 6.14.2
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
4 advisories still affect 6.14.2
- React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretationmoderate · GHSA-2j2x-hqr9-3h42
- React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydrationmoderate · GHSA-337j-9hxr-rhxg
- React Router has unexpected external redirect via untrusted pathsmoderate · GHSA-9jcx-v3wj-wh4m
- React Router: Open redirect via backslash in <Link> and useNavigate (CVE-2025-68470 bypass)moderate · GHSA-wrjc-x8rr-h8h6
Upgrading to 7.18.0 clears them.
Release by release
- New
Add missing
<Form state>prop to populatehistory.stateon submission navigations - New
SSR: Support proper hydration of
Errorsubclasses such asReferenceError/TypeError - Fixed
Trigger an error if a
deferpromise resolves/rejects withundefinedin order to match the behavior of loaders and actions which must return a value ornull - Fixed
Properly handle fetcher redirects interrupted by normal navigations
- Fixed
Initial-load fetchers should not automatically revalidate on GET navigations
- Fixed
Properly decode element id when emulating hash scrolling via
<ScrollRestoration> - Fixed
Typescript: Enhance the return type of
Route.lazyto prohibit returning an empty object
- New
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.