react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 6.26.2 to 6.30.6
12 releases in betweennotes for 6
Reading releases, release notes and advisories…
- ?
- changes to make
- 2
- advisories fixed
- 5+
- new
- 9+
- fixes
Counted from 6 of 12 release notes. Advisories are counted from the advisory database, in full.
Security
2 advisories still affect 6.30.6
- React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydrationmoderate · GHSA-337j-9hxr-rhxg
- 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.
Fixes 2 advisories affecting 6.26.2
- React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretationmoderate · GHSA-2j2x-hqr9-3h42
- React Router has unexpected external redirect via untrusted pathsmoderate · GHSA-9jcx-v3wj-wh4m
- 6.30.3
Release by release
- Fixed
@remix-run/router- Fix double slash normalization foruseNavigatecolon urls
- Fixed
6.30.5no release note
- Fixed
@remix-run/router- LiftdecodePathcall out of hot path during route matching - Fixed
@remix-run/router- Normalize double slashes in redirect paths
- Fixed
- Security
- Fixed
Validate redirect locations
- Fixed
Normalize double-slashes in
resolvePath
- Fixed
6.28.1 – 6.30.15 releases, no release note
- New
Log deprecation warnings for v7 flags
- Fixed
Update JSDoc URLs for new website structure (add /v6/ segment)
- New
- New
Add new
PatchRoutesOnNavigationFunctionArgstype for convenience - New
Stabilize
unstable_dataStrategy - New
Stabilize the
unstable_flushSyncoption for navigations and fetchers - New
Stabilize the
unstable_viewTransitionoption for navigations and the correspondingunstable_useViewTransitionStatehook - Fixed
Fix bug when submitting to the current contextual route (parent route with an index child) when an
?indexparam already exists from a prior submission - Fixed
Fix
useFormActionbug - when removing?indexparam it would not keep other non-Remixindexparams - Fixed
Fix types for
RouteObjectwithinPatchRoutesOnNavigationFunction'spatchmethod so it doesn't expect agnostic route objects passed topatch
- New
2 internal lines (docs, tests, tooling) left out.
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.