react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 6.8.1 to 6.8.2
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 3
- fixes
Security
4 advisories still affect 6.8.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
- Fixed
Fix SSR of absolute
<Link to>urls - Fixed
Fix
useBlockerto returnIDLE_BLOCKERduring SSR - Fixed
Ensure status code and headers are maintained for
deferloader responses increateStaticHandler'squery()method
- Fixed
4 other lines we could not sort, mostly version bumps
- 6.8.2
Treat same-origin absolute URLs in
<Link to>as external if they are outside of the routerbasename - 6.8.2
Correctly perform a hard redirect for same-origin absolute URLs outside of the router
basename - 6.8.2
Properly escape HTML characters in
StaticRouterProviderserialized hydration data - 6.8.2
Change
invariantto anUNSAFE_invariantexport since it's only intended for internal use
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.