CVE-2026-53666
published medium CVSS 3.1 · 6.1React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydration
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| remix-run | — | react-router>= 6.4.0, < 7.18.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| remix-run | react-router | >= 6.4.0, < 7.18.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-470 CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
References
5- https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180
- https://github.com/remix-run/react-router/commit/9d22943fd46c8ae4b08236425fa3549e10e9ad1a
- https://github.com/remix-run/react-router/pull/15175
- https://github.com/remix-run/react-router/releases/tag/[email protected]
- https://github.com/remix-run/react-router/security/advisories/GHSA-337j-9hxr-rhxg
Provider assertions
2GitHub_M · cna
React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydration
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ddabe0d979eb39588dd831a7f8d3b182f03b4403292dd1171a4a12d263fd2da1
- Ingested
- 23 Sep 2026, 09:19:58 UTC
- Source record
- Official CVE record