CVE-2026-21884
published high CVSS 3.1 · 8.2React Router SSR XSS in ScrollRestoration
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| remix-run | — | react-router@remix-run/react < 2.17.3 · react-router >= 7.0.0, < 7.12.0 | Affected | Not stated | GitHub_M |
| Red Hat | — | automation-platform-uiRed Hat Ansible Automation Platform 2.6 for RHEL 9 · 0:2.6.6-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/gateway-rhel9Red Hat Ansible Automation Platform 2.6 · 1772543959 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-dashboard-rhel9Red Hat OpenShift AI 2.25 · 1772093424 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-model-registry-rhel9Red Hat OpenShift AI 2.25 · 1772093498 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-dashboard-rhel9Red Hat OpenShift AI 3.3 · 1779189627 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-gen-ai-rhel9Red Hat OpenShift AI 3.3 · 1778473763 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-model-registry-rhel9Red Hat OpenShift AI 3.3 · 1778666987 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | kueue/kueue-must-gather-rhel9Red Hat Build of Kueue | Unaffected | Not required | redhat-SADP |
| Red Hat | — | kueue/kueue-operator-bundleRed Hat Build of Kueue | Unaffected | Not required | redhat-SADP |
| Red Hat | — | kueue/kueue-rhel9Red Hat Build of Kueue | Unaffected | Not required | redhat-SADP |
| Red Hat | — | kueue/kueue-rhel9-operatorRed Hat Build of Kueue | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 9, 10 | ipa | Unaffected | Not required | redhat-SADP |
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.
A cross site scripting flaw has been discovered in the npm react-router package. The cross site scripting (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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.2 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| remix-run | react-router | @remix-run/react < 2.17.3 (affected)react-router >= 7.0.0, < 7.12.0 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.6 for RHEL 9 | 0:2.6.6-1.el9ap and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | 1772543959 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 2.25 | 1772093424 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 2.25 | 1772093498 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1779189627 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1778473763 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1778666987 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Kueue | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Kueue | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Kueue | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Kueue | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
8- https://access.redhat.com/errata/RHSA-2026:19712
- https://access.redhat.com/errata/RHSA-2026:3782
- https://access.redhat.com/errata/RHSA-2026:3958
- https://access.redhat.com/errata/RHSA-2026:3960
- https://access.redhat.com/security/cve/CVE-2026-21884
- RHBZ#2428421 https://bugzilla.redhat.com/show_bug.cgi?id=2428421
- https://github.com/remix-run/react-router/security/advisories/GHSA-8v8x-cx79-35w7
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21884.json
Provider assertions
3GitHub_M · cna
React Router SSR XSS in ScrollRestoration
redhat-SADP · adp
react-router: @remix-run/react: React Router SSR XSS in ScrollRestoration
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aa24e7d3d5365ec18bc6474c200d43c33502c303acdd18aaff941a7285ca3811
- Ingested
- 23 Sep 2026, 09:05:14 UTC
- Source record
- Official CVE record