Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. react-router
  4. ›
  5. CVE-2026-53666

CVE-2026-53666: React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydration

July 23, 2026

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

  • github.com/advisories/GHSA-337j-9hxr-rhxg
  • github.com/remix-run/react-router/blob/main/CHANGELOG.md
  • github.com/remix-run/react-router/commit/9d22943fd46c8ae4b08236425fa3549e10e9ad1a
  • github.com/remix-run/react-router/pull/15175
  • github.com/remix-run/react-router/releases/tag/react-router@7.18.0
  • github.com/remix-run/react-router/security/advisories/GHSA-337j-9hxr-rhxg
  • nvd.nist.gov/vuln/detail/CVE-2026-53666

Code Behaviors & Features

Detect and mitigate CVE-2026-53666 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.4.0 before 7.18.0

Fixed versions

  • 7.18.0

Solution

Upgrade to version 7.18.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

Source file

npm/react-router/CVE-2026-53666.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 24 Jul 2026 12:17:22 +0000.