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-01-12 22:50 UTC (History)
155 users (show)

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


Attachments (Terms of Use)

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.


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