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)
| Artifact | Affected versions | Fixed 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
25% of the dependent artifacts (1) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 210 |
Most used dependents
- org.mvnpm » react-router-dom19 usages
- org.webjars.npm » react-router-dom14 usages
- org.mvnpm » zudoku0 usages
- org.mvnpm.at.remix-run » react0 usages
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
References
| Package | remix-run/react-router | github.com |
| Web | remix-run/react-router advisory GHSA-337j-9hxr-rhxg | github.com |
| Web | remix-run/react-router pull request #15175 | github.com |
| Web | remix-run/react-router commit 9d22943 | github.com |
| Web | remix-run/react-router CHANGELOG.md | github.com |
| Web | remix-run/react-router release react-router@7.18.0 | github.com |
