CVE-2025-43864
React Router allows a DoS via cache poisoning by forcing SPA mode
Reported by github_m · Published April 25, 2025
react-router is fixed in 7.5.2 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| react-router | npm | 7.5.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| remix-run | react-router | >= 7.2.0, < 7.5.2 |
| remix-run | react-router | |
| remix-run | react-router | 7.2.0 |
| npm | react-router | 7.2.0 |
Timeline
- Apr 24, 2025 CVE Published
- Apr 25, 2025 EPSS Score (30 in total, the first dated here)
- Apr 25, 2025 Coalition ESS Score (14 in total, the first dated here)
- Apr 25, 2025 PoC Published (7 in total, the first dated here)
- Dec 14, 2025 Security Advisory
- Apr 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-43864
vulnetix vdb fixes CVE-2025-43864
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-43864/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/remix-run/react-router/security/advisories/GHSA-f46r-rw29-r322 x_refsource_CONFIRM
- https://github.com/remix-run/react-router/commit/c84302972a152d851cf5dd859ff332b354b70111 x_refsource_MISC
- https://github.com/remix-run/react-router/blob/e6c53a0130559b4a9bd47f9cf76ea5b08a69868a/packages/react-router/lib/server-runtime/server.ts#L407 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-43864 advisory
- https://github.com/advisories/GHSA-f46r-rw29-r322 advisory
- https://github.com/remix-run/react-router url