CVE-2025-59057

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:*
cpe:2.3:a:shopify:remix-run\/react:*:*:*:*:*:node.js:*:*

History

30 Jun 2026, 03:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:19712 -
  • () https://access.redhat.com/errata/RHSA-2026:3782 -
  • () https://access.redhat.com/errata/RHSA-2026:3958 -
  • () https://access.redhat.com/errata/RHSA-2026:3960 -
  • () https://access.redhat.com/security/cve/CVE-2025-59057 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2428426 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-59057.json -

17 Jun 2026, 09:45

Type Values Removed Values Added
Summary
  • (es) React Router es un router para React. En las versiones 1.15.0 a 2.17.0 de @remix-run/react y las versiones 7.0.0 a 7.8.2 de react-router, existe una vulnerabilidad XSS en las APIs meta()/ de React Router en Modo Framework al generar etiquetas script:ld+json, lo que podría permitir la ejecución arbitraria de JavaScript durante el SSR si se utiliza contenido no confiable para generar la etiqueta. No hay impacto si la aplicación se está utilizando en Modo Declarativo () o Modo de Datos (createBrowserRouter/). Este problema ha sido parcheado en la versión 2.17.1 de @remix-run/react y la versión 7.9.0 de react-router.

30 Jan 2026, 18:19

Type Values Removed Values Added
CPE cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:*
cpe:2.3:a:shopify:remix-run\/react:*:*:*:*:*:node.js:*:*
References () https://github.com/remix-run/react-router/security/advisories/GHSA-3cgp-3xvw-98x8 - () https://github.com/remix-run/react-router/security/advisories/GHSA-3cgp-3xvw-98x8 - Third Party Advisory
First Time Shopify
Shopify react-router
Shopify remix-run\/react

10 Jan 2026, 03:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-10 03:15

Updated : 2026-07-15 02:17


NVD link : CVE-2025-59057

Mitre link : CVE-2025-59057

CVE.ORG link : CVE-2025-59057


JSON object : View

Products Affected

shopify

  • react-router
  • remix-run\/react
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')