Bug 2428426 (CVE-2025-59057) - CVE-2025-59057 react-router: @remix-run/router: React Router XSS Vulnerability
Summary: CVE-2025-59057 react-router: @remix-run/router: React Router XSS Vulnerability
Keywords:
Status: NEW
Alias: CVE-2025-59057
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)
27 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:48 UTC

Description OSIDB Bzimport 2026-01-10 04:02:41 UTC
React Router is a router for React. In @remix-run/react versions 1.15.0 through 2.17.0. and react-router versions 7.0.0 through 7.8.2, a XSS vulnerability exists in in React Router's meta()/<Meta> APIs in Framework Mode when generating script:ld+json tags which could allow arbitrary JavaScript execution during SSR if untrusted content is used to generate the tag. There is no impact if the application is being used in Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>). This issue has been patched in @remix-run/react version 2.17.1 and react-router version 7.9.0.

Comment 1 errata-xmlrpc 2026-03-06 10:12:45 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.