CVE-2026-21884: remix-run react-router Cross-site Scripting
Vulnerability summary
CVE-2026-21884 is a high (CVSS 8.2) Cross-site Scripting vulnerability in remix-run react-router. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 43.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 10-01-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- NVDNIST8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
EPSS trend
Probability
0.53%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
-0.01 pp
From 0.54% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Shopify2 products
- react-router≥ 7.0.0, ≤ 7.11.0
- remix-run\/react< 2.17.3
@remix-run1 product
- react< 2.17.3
Npm1 product
- react-router≥ 7.0.0, < 7.12.0
Remix-run1 product
- react-router@remix-run/react < 2.17.3 | react-router >= 7.0.0, < 7.12.0
4 vendors · 5 products
References
13 links- github.com/remix-run/react-router/security/advisories/GHSA-8v8x-cx79-35w7X Refsource CONFIRMWEBThird Party Advisory