MODERATE 6.1

CVE-2026-53666

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

Description

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

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.mvnpm » react-routervia npm react-router
>= 6.4.0, < 7.18.0
7.18.0
org.webjars » react-routervia npm react-router
>= 6.4.0, < 7.18.0
7.18.0
org.webjars.npm » react-routervia npm react-router
>= 6.4.0, < 7.18.0
7.18.0

Blast radius

2affected artifacts
86affected versions
4dependent artifacts (est.)
210dependent versions

25% of the dependent artifacts (1) still pull an affected version in their latest release.

DepthDependent versions
Direct
210

Most used dependents

Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV