Skip to content

CVE-2025-43864 React Router allows a DoS via cache poisoning by forcing SPA mode

HighCVSS 7.5 EPSS 20.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

React Router is a router for React. Starting in version 7.2.0 and prior to version 7.5.2, it is possible to force an application to switch to SPA mode by adding a header to the request. If the application uses SSR and is forced to switch to SPA, this causes an error that completely corrupts the page. If a cache system is in place, this allows the response containing the error to be cached, resulting in a cache poisoning that strongly impacts the availability of the application. This issue has been patched in version 7.5.2.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm react-router(npm) >= 7.2.0, < 7.5.2; >= 7.2.0, <= 7.5.1 7.5.2 Fixed
remix-run react-router = >= 7.2.0, < 7.5.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm react-router(npm) >= 7.2.0, <= 7.5.1 No fix listed
remix-run react-router = >= 7.2.0, < 7.5.2 No fix listed
npm react-router(npm) >= 7.2.0, < 7.5.2 7.5.2

References