react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 7.13.2 to 7.14.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking7.14.0
Security
9 advisories still affect 7.14.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's vendored turbo-stream v2 allows arbitrary constructor invocation via TYPE_ERROR deserialization leading to Unauth RCEhigh · GHSA-49rj-9fvp-4h2h
Upgrading to 7.18.2 clears them.
Fixes 1 advisory affecting 7.13.2
- React Router vulnerable to Denial of Service via reflected user input in single-fetchhigh · GHSA-rxv8-25v2-qmq8
Release by release
- Breaking
UNSTABLE RSC FRAMEWORK MODE BREAKING CHANGE - Existing route module exports remain unchanged from stable v7 non-RSC mode, but new exports are added for RSC mode. If you want to use RSC features, you will need to update your route modules to export the new annotations.
- Fixed
Rsc Link prefetch
- Fixed
Remove recursion from turbo-stream v2 allowing for encoding / decoding of massive payloads.
- Fixed
encodeViaTurboStream leaked memory via unremoved AbortSignal listener
- Breaking
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.