CVE-2025-59057 json
React Router has XSS Vulnerability
published 2026-01-08 10 mo ago modified 2026-09-08 2 mo ago also GHSA-3cgp-3xvw-98x8 , EUVD-2026-1469
- cvss
- 7.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm react-router 7.9.0
- npm @remix-run/react 2.17.1
- Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9 0:2.6.6-1.el9ap
- Red Hat Red Hat Ansible Automation Platform 2.6 1772543959
- Red Hat Red Hat OpenShift AI 2.25 1772093424, 1772093498
- Red Hat Red Hat OpenShift AI 3.3 1778473763, 1778666987, 1779189627
- receptor ansible automation platform 2.6 1.6.3-4.el10ap
- receptor ansible automation platform inside 2.6, ansible automation platform developer 2.6, ansible automation platform 2.6 1.6.3-4.el9ap
- receptorctl ansible automation platform 2.6 1.6.3-4.el10ap
- receptorctl ansible automation platform inside 2.6, ansible automation platform developer 2.6, ansible automation platform 2.6 1.6.3-4.el9ap
- python3.12-django ansible automation platform developer 2.6, ansible automation platform 2.6 4.2.28-1.el9ap
- python3.12-aiohttp ansible automation platform 2.6 3.13.3-2.el9ap
- python3.12-protobuf ansible automation platform 2.6 5.29.6-1.el9ap
- automation-controller ansible automation platform developer 2.6, ansible automation platform 2.6 4.7.9-1.el9ap
red hat advisories RHSA-2026:3958
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-59057 updated cvss 7.6
react-router: @remix-run/router: React Router XSS Vulnerability
-
Red Hat Ansible Automation Platform 2.6 ansible-automation-platform-26 1772543959fixed: vendor fix RHSA-2026:3960
-
Red Hat Ansible Automation Platform 2.6 for RHEL 9 automation-platform-ui 2.6.6-1.el9apfixed: vendor fix RHSA-2026:3958
-
Red Hat OpenShift AI 2.25 rhoai 1772093424, rhoai 1772093498fixed: vendor fix RHSA-2026:3782
-
Red Hat OpenShift AI 3.3 rhoai 1778473763, rhoai 1778666987, rhoai 1779189627fixed: vendor fix RHSA-2026:19712
-
Red Hat Ansible Automation Platform 2.6 ansible-automation-platform 1772556678, ansible-automation-platform 1772556679, ansible-automation-platform-26 1772204398, ansible-automation-platform-26 1772381996, ansible-automation-platform-26 1772382003, ansible-automation-platform-26 1772382254, +21 more Red Hat Ansible Automation Platform 2.6 for RHEL 9 tox 4.15.1-2.el9ap, uwsgi 2.0.28-2.el9ap, bindep 2.13.0-2.el9ap, receptor 1.6.3-4.el9ap, yamllint 1.35.1-2.el9ap, molecule 25.12.0-2.el9ap, +332 more Red Hat Ansible Automation Platform 2.6 for RHEL 10 receptor 1.6.3-4.el10ap, receptorctl 1.6.3-4.el10ap, ansible-core 2.16.16-2.el10ap, python-django 4.2.28-2.el10ap, python3-django 4.2.28-2.el10ap Red Hat Build of Kueue kueue/kueue-rhel9, kueue/kueue-rhel9-operator, kueue/kueue-operator-bundle, kueue/kueue-must-gather-rhel9not affected: vulnerable code not present
-
Red Hat Enterprise Linux 9 ipa, ipa-client, ipa-common, ipa-server, ipa-selinux, ipa-client-epn, +13 morenot affected: vulnerable code not in execute path
-
Red Hat Enterprise Linux 10 ipa Red Hat OpenShift AI 2.25 rhoai 1772093237, rhoai 1772093250, rhoai 1772093252, rhoai 1772093260, rhoai 1772093266, rhoai 1772093272, +62 more Red Hat OpenShift AI 3.3 rhoai 1778239104, rhoai 1778262829, rhoai 1778262856, rhoai 1778262893, rhoai 1778262907, rhoai 1778262952, +73 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
| CISA ADP | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
| GitHub | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | react-router | >=7.0.0, <7.9.0 |
7.9.0 |
| npm | @remix-run/react | >=1.15.0, <2.17.1 |
2.17.1 |
Affected products
- remix-run react-router
- Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9
- Red Hat Red Hat Ansible Automation Platform 2.6
- Red Hat Red Hat OpenShift AI 2.25
- Red Hat Red Hat OpenShift AI 3.3
- Red Hat Red Hat Build of Kueue
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 9
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/remix-run/react-router/pull/14316
web
-
github.com
/remix-run/react-router/commit/0e774855797fcb3c7538c269158f4541beb55a1b
web
-
access.redhat.com
/errata/RHSA-2026:3958
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:3960
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:3782
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:19712
vendor-advisory, web
-
github.com
/remix-run/react-router/security/advisories/GHSA-3cgp-3xvw-98x8
web, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2025-59057
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2428426
issue-tracking, web
-
security.access.redhat.com
/data/csaf/v2/vex/2025/cve-2025-59057.json
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-59057
advisory
-
github.com
/remix-run/react-router
package
-
github.com
/remix-run/react-router/blob/main/CHANGELOG.md#v790
web
-
github.com
/remix-run/react-router/releases/tag/react-router@7.9.0
web
Sources
- CVE List CVE-2025-59057
- GitHub Advisory GHSA-3cgp-3xvw-98x8
- NVD CVE-2025-59057
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.