Advisory

GHSA-337j-9hxr-rhxg

Also known as: CVE-2026-53666

Summary

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

Details

If application code allows attacker supplied input to overwrite certain aspects of errors caught by the SSR process, then it was possible for attacker to trigger unexpected constructor execution on the client which would trigger outbound network traffic. This is only possible with very specific (and unlikely) application layer code.

> [!NOTE]
> This does not impact your application if you are using Declarative Mode. This only impacts Framework Mode and Data Mode applications doing manual SSR/hydration

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-07-23 19:34 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

react-router

npm · All systems

Affected

  • introduced 6.4.0, fixed 7.18.0 (semver)

Fixed versions

7.18.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences