# CVE-2026-53666: React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydration

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- 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): 0.30%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-07-23T19:34:14.000Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-337j-9hxr-rhxg
- Weaknesses: CWE-470
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

React Router is a router for React. In versions 6.4.0 through 7.17.0, if application code was written in a way that allows attacker-supplied input to overwrite certain aspects of errors caught by the SSR process, then it was possible for an attacker to trigger unexpected constructor execution on the client, which would in turn trigger an outbound network request. This is only possible with very specific (and unlikely) application-layer code. Note that this does not impact an application if it is using Declarative Mode. It only impacts Framework Mode and Data Mode applications that perform manual SSR/hydration. This issue has been fixed in version 7.18.0.

(As written by CVE List.)

## Affected

- remix-run react-router: >= 6.4.0, < 7.18.0
- react-router (npm): from 6.4.0 before 7.18.0
- shopify react-router: from 6.4.0 before 7.18.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/remix-run/react-router/security/advisories/GHSA-337j-9hxr-rhxg> (third-party-advisory, web)
- <https://github.com/remix-run/react-router/pull/15175> (issue-tracking, patch, web)
- <https://github.com/remix-run/react-router/commit/9d22943fd46c8ae4b08236425fa3549e10e9ad1a> (patch, web)
- <https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180> (release-notes, web)
- <https://github.com/remix-run/react-router/releases/tag/react-router@7.18.0> (release-notes, web)
- <https://github.com/remix-run/react-router> (package)

## Sources

- CVE List: [CVE-2026-53666](https://www.cve.org/CVERecord?id=CVE-2026-53666), CVE Terms of Use, modified 2026-07-28
- GitHub Advisory Database: [GHSA-337j-9hxr-rhxg](https://github.com/advisories/GHSA-337j-9hxr-rhxg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-53666](https://nvd.nist.gov/vuln/detail/CVE-2026-53666), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-53666 · Whole record: https://cve.day/CVE-2026-53666.json · Rebuilt by cve.day 2026-11-25T22:59:30.300Z
