Skip to main content
← All vulnerabilities
CVE-2026-53666GHSA-337J-9HXR-RHXG

React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydration

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.18.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • remix-run react-router

    From 6.4.0 · fixed in 7.18.0

  • react-routernpm

    From 6.4.0 · fixed in 7.18.0

References 5

GitHub · remix-run/react-router