---
title: "react-router 8.5.1: release notes, upgrades and advisories"
description: "react-router 8.5.1: release notes, breaking changes by major version and 20 known advisories with their fix."
url: https://inlinr.com/packages/react-router
lang: en
---

[Packages](https://inlinr.com/packages)

# react-router

8.5.1 · 27 Oct 2026 MIT 80.5M / week [Repository](https://github.com/remix-run/react-router) [npm](https://www.npmjs.com/package/react-router) [Atom feed](https://inlinr.com/packages/feed/react-router)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/react-router/upgrade)

LineNewestSecurity

- 8.x 8.5.2 Safe from 8.3.0 Latest line
- 7.x 7.18.6 Safe from 7.18.2 [To 8.5.1](https://inlinr.com/packages/react-router/upgrade/7.18.6-8.5.1)
- 6.x 6.30.6 2 open advisories, worst moderate [To 8.5.1](https://inlinr.com/packages/react-router/upgrade/6.30.6-8.5.1)
- 5.x 5.3.4 No known advisory [To 8.5.1](https://inlinr.com/packages/react-router/upgrade/5.3.4-8.5.1)
- 4.x 4.4.0 No known advisory [To 8.5.1](https://inlinr.com/packages/react-router/upgrade/4.4.0-8.5.1)
- 3.x 3.2.6 No known advisory [To 8.5.1](https://inlinr.com/packages/react-router/upgrade/3.2.6-8.5.1)

## Latest releases

[All 232 releases](https://inlinr.com/packages/react-router/releases)

1. 8.x · latest line
2. ### [8.5.2](https://inlinr.com/packages/react-router/releases/8.5.2 "Open this release") [](https://github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md "Read this release where it was published")  
18 Nov 2026

  - Keep navigation metadata consistent after a submission action throws an error
  - Cancel the discarded response body for `HEAD` requests, so a resource route streaming a file no longer leaks its file descriptor
  - Preserve streamed `<Suspense>` boundaries during hydration in development
3. ### [8.5.1](https://inlinr.com/packages/react-router/releases/8.5.1 "Open this release") [](https://github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md "Read this release where it was published")  
27 Oct 2026

  - Fix `URIError: URI malformed` when an `ssr: false` dev server receives a URL path with a malformed percent-encoding
  - Bound server route manifest processing for paths with expensive route expansion
  - Encode commas within paths sent to the lazy route discovery manifest endpoint so routes with commas in their paths are discovered correctly
4. ### [8.5.0](https://inlinr.com/packages/react-router/releases/8.5.0 "Open this release") [](https://github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md "Read this release where it was published")  
19 Oct 2026

  - Deprecated  
  Deprecate React Router's view transition APIs in favor of React's `<ViewTransition>` component, available in React 19.3 and later
  - Fix `<Await>` failing to server render promises decoded from an RSC payload, which caused the Suspense boundary to switch to client rendering
  - Declare [@types/react](https://inlinr.com/packages/@types/react) and [@types/react-dom](https://inlinr.com/packages/@types/react-dom) as optional peer dependencies so the shipped type definitions resolve React types under strict (non-hoisted) node\_modules layouts

Dependency tracking

## Know when your own dependencies move

react-router had 18 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[All 20](https://inlinr.com/packages/react-router/security)

- [React Router: RSC Mode CSRF Bypass Allows Action Execution Before 400 Response](https://inlinr.com/advisories/GHSA-qwww-vcr4-c8h2) High · fixed in 8.3.0, 7.18.2
- [React Router: Unauthenticated Denial of Service via Inefficient Route Matching](https://inlinr.com/advisories/GHSA-chx6-hx7r-mcp5) High · fixed in 7.18.0
- [React Router vulnerable to Denial of Service via reflected user input in single-fetch](https://inlinr.com/advisories/GHSA-rxv8-25v2-qmq8) High · fixed in 7.14.0

## Health of 8.5.1

[Details](https://inlinr.com/packages/react-router/security#signals)

- **Provenance**: Present
- **Publisher**: GitHub Actions
- **Maintainers**: 2
- **Scorecard**: 5.3 / 10
- **Size**: 3.0 MB

## Weekly downloads

Last 52 weeks +269%

## Works with

- [react](https://inlinr.com/packages/react)
- [react-dom optional](https://inlinr.com/packages/react-dom)
- [@types/react optional](https://inlinr.com/packages/@types/react)
- [@types/react-dom optional](https://inlinr.com/packages/@types/react-dom)

## Same family

- [@remix-run/router 24.8M/wk](https://inlinr.com/packages/@remix-run/router)
- [@react-router/node 4.8M/wk](https://inlinr.com/packages/@react-router/node)
- [@react-router/dev 4.5M/wk](https://inlinr.com/packages/@react-router/dev)
- [@react-router/express 2.4M/wk](https://inlinr.com/packages/@react-router/express)
- [@react-router/serve 1.8M/wk](https://inlinr.com/packages/@react-router/serve)
- [@react-router/cloudflare 103.7k/wk](https://inlinr.com/packages/@react-router/cloudflare)

Reading releases, release notes and advisories…

Registry facts last checked 18 Nov 2026\. Releases and advisories last read 22 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
