Skip to content

CVE-2026-21884 React Router SSR XSS in ScrollRestoration

HighCVSS 8.2 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Red Hat

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.

Upgrade path

16 packages: 7 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
redhat/ansible-automation-platform-26/gateway-rhel9:1772543959(Red Hat ansible_automation_platform 2.6 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-dashboard-rhel9:1772093424(Red Hat openshift_ai 2.25 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-dashboard-rhel9:1779189627(Red Hat openshift_ai 3.3 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-gen-ai-rhel9:1778473763(Red Hat openshift_ai 3.3 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-model-registry-rhel9:1772093498(Red Hat openshift_ai 2.25 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-model-registry-rhel9:1778666987(Red Hat openshift_ai 3.3 el9) All versions No fix listed No fix yet
npm react-router(npm) >= 7.0.0, < 7.12.0 7.12.0 Fixed
redhat ansible automation platform < 0:2.6.6-1.el9ap; < 1772543959 0:2.6.6-1.el9ap, 1772543959 Fixed
redhat openshift ai < 1772093424; < 1772093498; < 1778473763; < 1778666987 +1 more 1772093424, 1772093498, 1778473763, 1778666987, 1779189627 Fixed
redhat/automation-platform-ui(Red Hat ansible_automation_platform 2.6 el9) < 2.6.6-1.el9ap 2.6.6-1.el9ap Fixed
remix-run @remix-run/react(npm) < 2.17.3 2.17.3 Fixed
shopify react-router >= 7.0.0, <= 7.11.0 after 7.11.0 Fixed
shopify remix-runreact < 2.17.3 2.17.3 Fixed
redhat enterprise linux = 9; = 10 No fix listed Versions listed
redhat kueue operator = 1 No fix listed Versions listed
remix-run react-router = @remix-run/react < 2.17.3; = react-router >= 7.0.0, < 7.12.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
remix-run react-router = @remix-run/react < 2.17.3 No fix listed
remix-run react-router = react-router >= 7.0.0, < 7.12.0 No fix listed
redhat ansible automation platform < 0:2.6.6-1.el9ap 0:2.6.6-1.el9ap
redhat ansible automation platform < 1772543959 1772543959
redhat openshift ai < 1772093424 1772093424
redhat openshift ai < 1772093498 1772093498
redhat openshift ai < 1779189627 1779189627
redhat openshift ai < 1778473763 1778473763
redhat openshift ai < 1778666987 1778666987
redhat kueue operator = 1 No fix listed
redhat enterprise linux = 10 No fix listed
redhat enterprise linux = 9 No fix listed
npm react-router(npm) >= 7.0.0, < 7.12.0 7.12.0
remix-run @remix-run/react(npm) < 2.17.3 2.17.3
redhat/automation-platform-ui(Red Hat:ansible_automation_platform:2.6::el9) < 2.6.6-1.el9ap 2.6.6-1.el9ap
redhat/ansible-automation-platform-26/gateway-rhel9:1772543959(Red Hat:ansible_automation_platform:2.6::el9) All versions No fix listed
redhat/rhoai/odh-dashboard-rhel9:1772093424(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-model-registry-rhel9:1772093498(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhoai/odh-dashboard-rhel9:1779189627(Red Hat:openshift_ai:3.3::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-gen-ai-rhel9:1778473763(Red Hat:openshift_ai:3.3::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-model-registry-rhel9:1778666987(Red Hat:openshift_ai:3.3::el9) All versions No fix listed
shopify react-router >= 7.0.0, <= 7.11.0 No fix listed
shopify remix-runreact < 2.17.3 2.17.3

References