# CVE-2025-43864: React Router allows a DoS via cache poisoning by forcing SPA mode

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 21.0%, higher than 97% of CVEs (2026-12-01)
- Published: 2025-04-24T16:31:16.000Z
- Modified: 2026-06-17T09:24:40.123Z
- Also known as: GHSA-f46r-rw29-r322
- Weaknesses: CWE-755
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- remix-run react-router: >= 7.2.0, < 7.5.2
- react-router (npm): from 7.2.0 before 7.5.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/remix-run/react-router/security/advisories/GHSA-f46r-rw29-r322> (web)
- <https://github.com/remix-run/react-router/commit/c84302972a152d851cf5dd859ff332b354b70111> (web)
- <https://github.com/remix-run/react-router/blob/e6c53a0130559b4a9bd47f9cf76ea5b08a69868a/packages/react-router/lib/server-runtime/server.ts#L407> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-43864> (advisory)
- <https://github.com/remix-run/react-router> (package)

## Sources

- CVE List: [CVE-2025-43864](https://www.cve.org/CVERecord?id=CVE-2025-43864), CVE Terms of Use, modified 2025-04-25
- GitHub Advisory Database: [GHSA-f46r-rw29-r322](https://github.com/advisories/GHSA-f46r-rw29-r322), CC-BY-4.0, modified 2025-04-25
- NVD: [CVE-2025-43864](https://nvd.nist.gov/vuln/detail/CVE-2025-43864), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-43864 · Whole record: https://cve.day/CVE-2025-43864.json · Rebuilt by cve.day 2026-11-25T22:58:56.916Z
