Bug 2428421 (CVE-2026-21884) - CVE-2026-21884 react-router: @remix-run/react: React Router SSR XSS in ScrollRestoration
Summary: CVE-2026-21884 react-router: @remix-run/react: React Router SSR XSS in Scroll...
Keywords:
Status: NEW
Alias: CVE-2026-21884
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-10 04:02 UTC by OSIDB Bzimport
Modified: 2026-03-06 10:12 UTC (History)
154 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:3958 0 None None None 2026-03-06 10:12:45 UTC

Description OSIDB Bzimport 2026-01-10 04:02:21 UTC
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.

Comment 3 errata-xmlrpc 2026-03-06 10:12:35 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.6 for RHEL 9
  Red Hat Ansible Automation Platform 2.6 for RHEL 10

Via RHSA-2026:3958 https://access.redhat.com/errata/RHSA-2026:3958


Note You need to log in before you can comment on or make changes to this bug.