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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| remix-run | react-router | >= 7.2.0, < 7.5.2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
pouriam23/DoS-via-cache-poisoning-by-forcing-SPA-mode-CVE-2025-43864- ★ 1 · Apr 27, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | react-router | >= 7.2.0, < 7.5.2 | 7.5.2 | GHSA-f46r-rw29-r322 |
Advisories 1
- WID-SEC-2025-1435 IBM Storage Scale: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 30, 2025
References
- https://github.com/remix-run/react-router/security/advisories/GHSA-f46r-rw29-r322
- https://github.com/remix-run/react-router/commit/c84302972a152d851cf5dd859ff332b354b70111
- https://github.com/remix-run/react-router/blob/e6c53a0130559b4a9bd47f9cf76ea5b08a69868a/packages/react-router/lib/server-runtime/server.ts#L407