8.2
HIGH CVSS 3.1
CVE-2026-21884
React Router SSR XSS in ScrollRestoration
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.

INFO

Published Date :

Jan. 10, 2026, 3:15 a.m.

Last Modified :

Jan. 30, 2026, 6:19 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-21884 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Shopify react-router
2 Shopify remix-run\/react
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
Update React Router and @remix-run/react to patched versions to fix XSS.
  • Update @remix-run/react to version 2.17.3 or later.
  • Update react-router to version 7.12.0 or later.
  • Ensure SSR framework mode is configured securely.
  • Avoid untrusted content for SSR keys.
Public PoC/Exploit Available at Github

CVE-2026-21884 has a 8 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-21884.

URL Resource
https://github.com/remix-run/react-router/security/advisories/GHSA-8v8x-cx79-35w7 Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-21884 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-21884 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Antigravity-Manager v4.1.21 with Claude Opus 4.6 native adaptive thinking support

Ruby Shell Dockerfile HTML PowerShell JavaScript Rust CSS TypeScript

Updated: 3 days, 13 hours ago
0 stars 0 fork 0 watcher
Born at : Feb. 21, 2026, 2:45 a.m. This repo has been linked 1 different CVEs too.

🚀 AI 编辑器多账号代理工具 — 支持 Cursor / Claude Code / Codex / Gemini CLI / OpenCode / Droid,智能路由 · 自动轮换 · 配额保护 · 一键同步

Ruby Shell Dockerfile HTML JavaScript Rust CSS TypeScript

Updated: 6 days, 6 hours ago
1 stars 1 fork 1 watcher
Born at : Feb. 12, 2026, 4:39 p.m. This repo has been linked 1 different CVEs too.

None

Ruby Shell Dockerfile HTML JavaScript Rust CSS TypeScript

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 10, 2026, 12:08 a.m. This repo has been linked 1 different CVEs too.

None

Ruby Shell Dockerfile HTML JavaScript Rust CSS TypeScript

Updated: 2 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : Feb. 8, 2026, 3:09 p.m. This repo has been linked 1 different CVEs too.

None

Ruby Shell Dockerfile HTML JavaScript Rust CSS TypeScript

Updated: 2 weeks, 5 days ago
0 stars 0 fork 0 watcher
Born at : Feb. 2, 2026, 4:21 p.m. This repo has been linked 1 different CVEs too.

Topoo Gateway - Antigravity Manager Fork

Ruby Shell Dockerfile HTML JavaScript Rust CSS TypeScript Assembly Python

Updated: 2 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : Jan. 31, 2026, 8:40 p.m. This repo has been linked 1 different CVEs too.

Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antigravity 账号管理与切换工具。为 Antigravity 提供一键无缝账号切换功能。

account-manager antigravity

HTML JavaScript Rust CSS TypeScript Ruby Shell Dockerfile PowerShell

Updated: 5 days, 21 hours ago
23590 stars 2603 fork 2603 watcher
Born at : Nov. 26, 2025, 10:47 a.m. This repo has been linked 1 different CVEs too.

A website for greentech.lk.

JavaScript HTML CSS

Updated: 2 weeks, 4 days ago
0 stars 0 fork 0 watcher
Born at : Jan. 26, 2025, 12:22 p.m. This repo has been linked 5 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-21884 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-21884 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jan. 30, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:* versions from (including) 7.0.0 up to (including) 7.11.0 *cpe:2.3:a:shopify:remix-run/react:*:*:*:*:*:node.js:*:* versions up to (excluding) 2.17.3
    Added Reference Type GitHub, Inc.: https://github.com/remix-run/react-router/security/advisories/GHSA-8v8x-cx79-35w7 Types: Third Party Advisory
  • New CVE Received by [email protected]

    Jan. 10, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
    Added CWE CWE-79
    Added Reference https://github.com/remix-run/react-router/security/advisories/GHSA-8v8x-cx79-35w7
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.2
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact