8.2

CVE-2026-21884: React Router SSR XSS in ScrollRestoration

Modified
AliasesGHSA-8v8x-cx79-35w7
Published 10-01-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-21884 is a high (CVSS 8.2) vulnerability in remix-run react-router. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 46% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.2, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.2/10
010
High · v3.1 (CVE.org)
EPSS score
0.53%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 10-01-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last 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

EPSS trend

Probability

0.53%

Chance of exploitation in the next 30 days

Percentile

46%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.53% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Shopify2 products
@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
Show all 13 references