{"cve":"CVE-2025-59057","nvd":{"published":"2026-01-10T03:15:48.080","modified":"2026-07-15T02:17:30.610","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","score":7.6},"cwes":["CWE-79"],"references":["https://github.com/remix-run/react-router/security/advisories/GHSA-3cgp-3xvw-98x8","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"],"products":["shopify:react-router","shopify:remix-run\\/react"],"source":"nvd","synced_at":"2026-10-19T22:19:41.481987139+00:00"},"epss":{"cve":"CVE-2025-59057","score":0.00503,"percentile":0.43077,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3cgp-3xvw-98x8","url":"https://osv.dev/vulnerability/GHSA-3cgp-3xvw-98x8","summary":"React Router has XSS Vulnerability","modified":"2026-09-08T16:45:04.240417766Z","packages":[{"ecosystem":"npm","name":"react-router","purl":"pkg:npm/react-router","ranges":[">=7.0.0 <7.9.0"],"fixed":["7.9.0"]},{"ecosystem":"npm","name":"@remix-run/react","purl":"pkg:npm/%40remix-run/react","ranges":[">=1.15.0 <2.17.1"],"fixed":["2.17.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}