XSS Vulnerability in React Router Affects Remix-Run and React-Router
CVE-2026-21884
What is CVE-2026-21884?
A Cross-Site Scripting (XSS) vulnerability has been identified in React Router's API when used in Framework Mode with the getKey/storageKey props during Server-Side Rendering (SSR). This flaw permits arbitrary JavaScript execution if untrusted content is utilized to create the keys. The issue arises solely when SSR in Framework Mode is enabled, and it does not affect configurations using Declarative Mode or Data Mode. The vulnerability has been addressed in updated versions of the affected packages.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
react-router @remix-run/react < 2.17.3 < @remix-run/react 2.17.3
react-router react-router >= 7.0.0, < 7.12.0 < react-router 7.0.0, 7.12.0
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
