vulns.co
/
GKData.io MCP and API Buy me a coffee

React Router / Remix

React Router: hydrated error metadata must not select client behavior

React Router's maintainer describes unexpected client constructor execution and outbound network activity when server errors were reconstructed during hydration. This required unusually specific application behavior that let untrusted input alter parts of caught server errors. Error metadata was influencing client behavior instead of remaining data.

Open the referenceMaintainer AdvisoryReviewed 2026-10-03

How to use this reference

The advisory identifies 7.18.0 as patched. Editorial lesson: preserve a narrow, inert contract for errors crossing the server/client boundary, including metadata used to reconstruct them. Review error transport separately from visible error text, and constrain client interpretation to explicitly supported representations. The reviewed advisory does not establish the exact patch implementation.

Before reading

  • Server-side rendering and client hydration
  • Error serialization and data-versus-behavior boundaries

Context and limits

  • CVE-2026-53666. brophdawg11 published the advisory; yoyomiski is credited as reporter. The affected range is at least 6.4.0 and below 7.18.0.
  • The maintainer limits applicability to Framework Mode and Data Mode with manual SSR/hydration, excluding Declarative Mode. Do not infer general client code execution, server compromise, or demonstrated data theft from the bounded description.
  • The software release page displays June 16 without a year in retrieved text. A full patch-release date is not asserted or substituted for educational-resource chronology.
  • No individual bounty is established. Learning prerequisites and generalized review guidance are editorial.

Sources

  1. Arbitrary client-side constructor injection via React Router SSR HydrationReact Router / Remix · reviewed 2026-10-03
  2. React Router v7.18.0 releaseReact Router / Remix · reviewed 2026-10-03

Record reviewed 2026-10-03. Snapshot af2809c308fc. Open the complete JSON contract.

Library synced 2026-11-18 · cases last reviewed 2026-10-05

af2809c308fc · JSON exports & schemas · CC BY 4.0 content / MIT software