High severity · published Apr 25, 2025
CVE-2025-43864
React Router allows a DoS via cache poisoning by forcing SPA mode
7.5
CVSS
20.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)20.5% · higher than 97% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
react-router · remix-run
>= 7.2.0, < 7.5.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-43864
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-43864
github.com
https://github.com/remix-run/react-router/blob/e6c53a0130559b4a9bd47f9cf76ea5b08a69868a/packages/react-router/lib/server-runtime/server.ts#L407
github.com
https://github.com/remix-run/react-router/commit/c84302972a152d851cf5dd859ff332b354b70111
github.com
https://github.com/remix-run/react-router/security/advisories/GHSA-f46r-rw29-r322
More from react-router
9.1
CVE-2025-61686
React Router has Path Traversal in File Session Storage
8.2
CVE-2026-21884
React Router SSR XSS in ScrollRestoration
8.2
CVE-2025-43865
React Router allows pre-render data spoofing on React-Router framework mode
8.1
CVE-2026-42211
React Router's vendored turbo-stream v2 allows arbitrary constructor invocation via TYPE_ERROR deserialization leading to Unauth RCE
7.6
CVE-2025-59057
React Router has XSS Vulnerability
