medium

CVE-2026-53666

npm · react-router

Summary

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

Severity
medium
CVSS
6.1
EPSS
0.4% (p36)
CWE
CWE-470
Also known as
GHSA-337j-9hxr-rhxg
Published
2026-07-23
Updated
2026-07-23

Advisory 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

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.