React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydration
Summary
| CVE | CVE-2026-53666 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-27 22:17:30 UTC |
| Updated | 2026-08-03 14:04:25 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.1 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS: 0.004150000 probability, percentile 0.341480000 (date 2026-08-04)
Problem Types: CWE-470 | CWE-470 CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Shopify | React-router | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Remix-run | React-router | affected >= 6.4.0, < 7.18.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/remix-run/react-router/commit/9d22943fd46c8ae4b08236425fa3549... | [email protected] | github.com | Patch |
| github.com/remix-run/react-router/pull/15175 | [email protected] | github.com | Issue Tracking, Patch |
| github.com/remix-run/react-router/security/advisories/GHSA-337j-9hxr-rhxg | [email protected] | github.com | Third Party Advisory |
| github.com/remix-run/react-router/blob/main/CHANGELOG.md | [email protected] | github.com | Release Notes |
| github.com/remix-run/react-router/releases/tag/[email protected] | [email protected] | github.com | Release Notes |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.