Home / remix-run / react-router / CVE-2025-59057
CVE-2025-59057: is it exploited, and which versions of remix-run react-router are affected and fixed?
CVE-2025-59057 is a cross-site scripting (XSS) vulnerability in remix-run react-router. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: react-router from 7.0.0 before 7.9.0 and @remix-run/react from 1.15.0 before 2.17.1 (GitHub advisory GHSA-3cgp-3xvw-98x8). Fixed in 7.9.0 and 2.17.1 (GitHub advisory GHSA-3cgp-3xvw-98x8). Severity: High (7.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:14 UTC.
What is CVE-2025-59057?
React Router has XSS Vulnerability
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.
From the CVE record by GitHub_M, last updated July 15, 2026, 01:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| remix-run | react-router | @remix-run/react >= 1.15.0, < 2.17.1 react-router >= 7.0.0, < 7.9.0 |
As the CVE record by GitHub_M states it, last updated July 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | react-router | >= 7.0.0, < 7.9.0 | 7.9.0 | GHSA-3cgp-3xvw-98x8 |
| npm | @remix-run/react | >= 1.15.0, < 2.17.1 | 2.17.1 | GHSA-3cgp-3xvw-98x8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 8, 2026. Summary: React Router has XSS Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| shopify | react-router | from 7.0.0 through 7.8.2 | application |
| shopify | remix-run\/react | from 1.15.0 through 2.17.0 | application |
NVD analysis (status Modified), last modified July 15, 2026, 02:17 UTC.
How severe is CVE-2025-59057?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N | GitHub_M |
| High 7.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-59057 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, January 12, 2026)
- EPSS
- 0.50% probability of exploitation activity in the next 30 days, percentile 44.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/remix-run/react-router/security/advisories/GHSA-3cgp-3xvw-98x8 x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2025-59057 vdb-entry, x_refsource_REDHAT
- RHBZ#2428426 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-59057.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:3958 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:3960 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:3782 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:19712 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- September 8, 2025
- Published
- January 10, 2026, 02:40 UTC
- CVE record updated
- July 15, 2026, 01:25 UTC by GitHub_M
- NVD
- Modified, last modified July 15, 2026, 02:17 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect react-router?
- Nov 30, 2026CVE-2026-139999 remix-run react-router: cross-site request forgery (CSRF)
- Nov 30, 2026CVE-2026-139998 remix-run react-router: denial of service (uncontrolled resource consumption)
- Nov 30, 2026CVE-2026-139997 remix-run react-router: open redirect
- Nov 30, 2026CVE-2026-139996 remix-run react-router: prototype pollution
- Nov 30, 2026CVE-2026-139994 remix-run react-router: cross-site scripting (XSS)
- Jul 27, 2026CVE-2026-53669 remix-run react-router: open redirect
- Jul 27, 2026CVE-2026-55685 remix-run react-router: denial of service (uncontrolled resource consumption)
- Jul 27, 2026CVE-2026-53668 remix-run react-router: open redirect
Questions about CVE-2025-59057
Is CVE-2025-59057 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.50% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of remix-run react-router are affected by CVE-2025-59057?
react-router from 7.0.0 before 7.9.0 and @remix-run/react from 1.15.0 before 2.17.1, per the GitHub advisory GHSA-3cgp-3xvw-98x8. The tables above give every range the sources list.
Which version fixes CVE-2025-59057?
7.9.0 and 2.17.1, per the GitHub advisory GHSA-3cgp-3xvw-98x8. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-59057?
High (7.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-59057?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.