react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 7.8.2 to 7.9.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 1
- advisory fixed
- 2
- new
- 5
- fixes
Security
13 advisories still affect 7.9.0
- 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.
Fixes 1 advisory affecting 7.8.2
- React Router has XSS Vulnerabilityhigh · GHSA-3cgp-3xvw-98x8
Release by release
- New
Stabilize middleware and context APIs.
- New
Add react-server Await component implementation
- Fixed
Escape HTML in
meta()JSON-LD content - Fixed
In RSC Data Mode when using a custom basename, fix hydration errors for routes that only have client loaders
- Fixed
Make
hreffunction available in a react-server context - Fixed
Decode each time
getPayload()is called to allow for "in-context" decoding and hoisting of contextual assets - Fixed
href()now correctly processes routes that have an extension after the parameter or are a single optional parameter.
- 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.