CVE-2025-59057: remix-run react-router Cross-site Scripting
Vulnerability summary
CVE-2025-59057 is a high (CVSS 7.6) Cross-site Scripting vulnerability in remix-run react-router. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 41.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 10-01-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated7.6HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
- NVDNIST7.6HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
EPSS trend
Probability
0.50%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
-0.01 pp
From 0.51% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Shopify2 products
- react-router≥ 7.0.0, ≤ 7.8.2
- remix-run\/react≥ 1.15.0, ≤ 2.17.0
@remix-run1 product
- react≥ 1.15.0, < 2.17.1
Npm1 product
- react-router≥ 7.0.0, < 7.9.0
Remix-run1 product
- react-router@remix-run/react >= 1.15.0, < 2.17.1 | react-router >= 7.0.0, < 7.9.0
4 vendors · 5 products
References
14 links- github.com/remix-run/react-router/security/advisories/GHSA-3cgp-3xvw-98x8X Refsource CONFIRMWEBThird Party Advisory