GHSA-8v8x-cx79-35w7 · Severity: high · Ecosystem: npm — React Router SSR XSS in ScrollRestoration
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.
Conclusion & alert: CVE-2026-21884 is rated Low Risk (37.1/100): CVSS High severity, with low exploitation likelihood (EPSS 0.04%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-01-10 | — | 0.04% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.2 | 3.1 | HIGH |
|
2.8 | 4.7 | [email protected] |
GHSA-8v8x-cx79-35w7 · Severity: high · Ecosystem: npm — React Router SSR XSS in ScrollRestoration
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-21884 |
suse
|
high | CVE-2026-21884 severity important: SUSE including 3 source package names (firewalld-prometheus-config, golang-github-prometheus-prometheus, velociraptor), 11 product×package rows across 8 product lines (SUSE Linux Enterprise Module for Package Hub 15 SP7, SUSE Linux Enterprise Server 16.0, … (8 product lines)): Known Not Affected 11. | https://www.suse.com/security/cve/CVE-2026-21884/ |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| shopify | react-router | >= 7.0.0, <= 7.11.0 | cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:* |
| shopify | remix-run\/react | < 2.17.3 | cpe:2.3:a:shopify:remix-run\/react:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/remix-run/react-router/security/advisories/GHSA-8v8x-cx79-35w7 | Third Party Advisory |