CVE-2025-59057: React Router has XSS Vulnerability
Vulnerability summary
CVE-2025-59057 is a high (CVSS 7.6) vulnerability in remix-run react-router. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 44.6% of scored vulnerabilities.
Not severe (CVSS 7.6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?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
45%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.50% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
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