CVE-2025-43864
HIGH 7.5CVSS 3.1React 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.
- Published
- 25 Apr 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-755
- Also known as
- GHSA-f46r-rw29-r322
- Sources
- NVDJSONOSV GHSA-f46r-rw29-r322JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | react-router | >= 7.2.0, < 7.5.2 | 7.5.2 |
References
- https://github.com/remix-run/react-router/blob/e6c53a0130559b4a9bd47f9cf76ea5b08a69868a/packages/react-router/lib/server-runtime/server.ts#L407 · WEB
- https://github.com/remix-run/react-router/commit/c84302972a152d851cf5dd859ff332b354b70111 · WEB
- https://github.com/remix-run/react-router/security/advisories/GHSA-f46r-rw29-r322 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-43864 · ADVISORY
- https://github.com/remix-run/react-router · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 25 Apr 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Apr 2025)