react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 7.1.3 to 7.1.4
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
13 advisories still affect 7.1.4
- 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.
Release by release
- New
Optimize Lazy Route Discovery path discovery to favor a single
querySelectorAllcall at thebodylevel instead of many calls at the sub-tree level - New
Optimize route matching by skipping redundant
matchRoutescalls when possible - Fixed
Internal reorg to clean up some duplicated route module types
- Fixed
Properly handle status codes that cannot have a body in single fetch responses (204, etc.)
- Fixed
Stop erroring on resource routes that return raw strings/objects and instead serialize them as
text/plainorapplication/jsonresponses - Fixed
Properly bubble headers as
errorHeaderswhen throwing adata()result
- 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.