CVE-2025-59057
published high CVSS 3.1 · 7.6React Router has XSS Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| remix-run | — | react-router@remix-run/react >= 1.15.0, < 2.17.1 · react-router >= 7.0.0, < 7.9.0 | Affected | Not stated | GitHub_M |
| Red Hat | — | automation-platform-uiRed Hat Ansible Automation Platform 2.6 for RHEL 9 · 0:2.6.6-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | ansible-automation-platform-26/gateway-rhel9Red Hat Ansible Automation Platform 2.6 · 1772543959 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-dashboard-rhel9Red Hat OpenShift AI 2.25 · 1772093424 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-model-registry-rhel9Red Hat OpenShift AI 2.25 · 1772093498 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-dashboard-rhel9Red Hat OpenShift AI 3.3 · 1779189627 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-gen-ai-rhel9Red Hat OpenShift AI 3.3 · 1778473763 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-model-registry-rhel9Red Hat OpenShift AI 3.3 · 1778666987 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | kueue/kueue-must-gather-rhel9Red Hat Build of Kueue | Unaffected | Not required | redhat-SADP |
| Red Hat | — | kueue/kueue-operator-bundleRed Hat Build of Kueue | Unaffected | Not required | redhat-SADP |
| Red Hat | — | kueue/kueue-rhel9Red Hat Build of Kueue | Unaffected | Not required | redhat-SADP |
| Red Hat | — | kueue/kueue-rhel9-operatorRed Hat Build of Kueue | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 9, 10 | ipa | Unaffected | Not required | redhat-SADP |
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.
The cross site scripting flaw has been discovered in the npm react-router package. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.6 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| remix-run | react-router | @remix-run/react >= 1.15.0, < 2.17.1 (affected)react-router >= 7.0.0, < 7.9.0 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.6 for RHEL 9 | 0:2.6.6-1.el9ap and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | 1772543959 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 2.25 | 1772093424 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 2.25 | 1772093498 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1779189627 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1778473763 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1778666987 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Kueue | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Kueue | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Kueue | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Kueue | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
8- 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
- https://access.redhat.com/security/cve/CVE-2025-59057
- RHBZ#2428426 https://bugzilla.redhat.com/show_bug.cgi?id=2428426
- https://github.com/remix-run/react-router/security/advisories/GHSA-3cgp-3xvw-98x8
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-59057.json
Provider assertions
3GitHub_M · cna
React Router has XSS Vulnerability
redhat-SADP · adp
react-router: @remix-run/router: React Router XSS Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- faa31fa9029d017439ff39d9eaf3fd622bef6b2a2f87a261e0dbd2e1499fae4d
- Ingested
- 23 Sep 2026, 08:54:07 UTC
- Source record
- Official CVE record