react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 6.24.1 to 6.25.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Security
4 advisories still affect 6.25.0
- 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
- Fixed
Fix regression and properly decode paths inside
useMatchso matches/params reflect decoded params
- Fixed
3 other lines we could not sort, mostly version bumps
- 6.25.0
When this flag is enabled, actions will not automatically trigger a revalidation if they return/throw a
Responsewith a4xx/5xxstatus code - 6.25.0
You may still opt-into revalidation via
shouldRevalidate - 6.25.0
This also changes
shouldRevalidate'sunstable_actionStatusparameter toactionStatus
1 internal line (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.