Remix-run react-router
React Router allows a DoS via cache poisoning by forcing SPA mode
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 7.2.0, < 7.5.2
Fixed in 7.5.2
Mitigation
Upgrade react-router to 7.5.2 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 2.4 days after publication; not in CISA KEV. First PoC: pouriam23/DoS-via-cache-poisoning-by-forcing-SPA-mode-CVE-2025-43864- (created 27 Apr 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| pouriam23/DoS-via-cache-poisoning-by-forcing-SPA-mode-CVE-2025-43864- | 27 Apr 2025 +2.4 d | 1 | PoC via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.