VDB
KO
HIGH

GHSA-chx6-hx7r-mcp5

React Router: Unauthenticated Denial of Service via Inefficient Route Matching

Quick fix

GHSA-chx6-hx7r-mcp5 — react-router: upgrade to the fixed version with the command below.

npm install react-router@7.18.0

Details

This is a follow up to https://github.com/remix-run/react-router/security/advisories/GHSA-8x6r-g9mw-2r78 that covers additional reported scenarios in which the manifest endpoint could be accessed via unauthenticated targeted requests that would put heavy load on the server and slow down response times.

> [!NOTE] > This only impacts Framework Mode applications. This does not impact your application if you are using Declarative or Data Mode.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / react-router
Introduced in: 7.0.0 Fixed in: 7.18.0
Fix npm install react-router@7.18.0

References