REDHAT-BUG-2428421: XSS

Published Jan 10, 2026
·
Updated

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.

Affected Software

2 affected components
npm/@remix-run/react<2.17.3
npm/react-router>=7.0.0<7.11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade @remix-run/react to a version that resolves this vulnerability.

    Fixed in 2.17.3
  2. Upgrade

    Upgrade react-router to a version that resolves this vulnerability.

    Fixed in 7.12.0

Event History

Jan 10, 2026
Data Sourced
via Red Hat·04:02 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2428421?

The severity of REDHAT-BUG-2428421 is classified as high, with a score of 7.

2

How do I fix REDHAT-BUG-2428421?

To fix REDHAT-BUG-2428421, update @remix-run/react to version 2.17.3 or later and react-router to version 7.11.1 or later.

3

What type of vulnerability is found in REDHAT-BUG-2428421?

REDHAT-BUG-2428421 contains an XSS (Cross-Site Scripting) vulnerability.

4

Which components are affected by REDHAT-BUG-2428421?

The affected components in REDHAT-BUG-2428421 are @remix-run/react versions prior to 2.17.3 and react-router versions 7.0.0 through 7.11.0.

5

What does the Red Hat bug report REDHAT-BUG-2428421 describe?

The Red Hat bug report REDHAT-BUG-2428421 describes an XSS vulnerability in the <ScrollRestoration> API of React Router when certain props are used during Server-Side Rendering.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203