CVE-2026-21884: React Router SSR XSS in ScrollRestoration
remix-run · react-router
Vendor fix available · Affected: remix-run react-router · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 45% of scored CVEs
DescriptionCVE.org
React Router is a router for React. In @remix-run/react version prior to 2.17.3. and react-router 7.0.0 through 7.11.0, a XSS vulnerability exists in in React Router's <ScrollRestoration> API in Framework Mode when using the getKey/storageKey props during Server-Side Rendering which could allow arbitrary JavaScript execution during SSR if untrusted content is used to generate the keys. There is no impact if server-side rendering in Framework Mode is disabled, or if Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>) is being used. This issue has been patched in @remix-run/react version 2.17.3 and react-router version 7.12.0.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- remix-run · react-router@remix-run/react < 2.17.3; react-router >= 7.0.0, < 7.12.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Weakness
- Cross-site Scripting
- Vendor
- remix-run
- Published
- January 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-21884 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-79cwe.mitre.org
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- github.com/remix-run/react-router/security/advisories/GHSA-8v8x-github.com
- access.redhat.com/security/cve/CVE-2026-21884access.redhat.com
- Issue trackerbugzilla.redhat.com
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21884.security.access.redhat.com