React Router Flaws Expose Servers to RCE, XSS, and DoS
Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen Jun 2, 2026

Multiple vulnerabilities were disclosed in the widely used React Router npm package, including a reported remote code execution issue tracked as CVE-2026-42211 that researchers said could allow unauthenticated attackers to gain shell access when chained with an existing prototype pollution weakness. Additional flaws include CVE-2026-33245, a client-side cross-site scripting bug in redirect handling for applications using unstable React Server Components APIs, plus CVE-2026-34077 and CVE-2026-42342, two denial-of-service issues tied to serialization and manifest endpoint performance that can crash or degrade backend services.
The XSS issue affects React Router versions 7.7.0 through 7.13.1 when redirects originate from untrusted sources and use javascript: targets; applications not using the unstable RSC APIs or running in standard Declarative Mode are not impacted. Maintainers patched CVE-2026-33245 in React Router 7.13.2, while broader mitigation for the full set of reported issues requires upgrading to React Router 7.15.0 or Remix 2.17.5.


