React Router has XSS Vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| remix-run | react-router | @remix-run/react >= 1.15.0, < 2.17.1; react-router >= 7.0.0, < 7.9.0 | — | No fix listed | CNA |
| — | react-router (npm) | 7.0.0 to before 7.9.0 | 7.9.0 | Patch available | GHSA-3cgp-3xvw-98x8 |
| — | @remix-run/react (npm) | 1.15.0 to before 2.17.1 | 2.17.1 | Patch available | GHSA-3cgp-3xvw-98x8 |
- react-router Vendorremix-run Affected @remix-run/react >= 1.15.0, < 2.17.1; react-router >= 7.0.0, < 7.9.0 Fixed in — No fix listed CNA
- react-router (npm) Vendor— Affected 7.0.0 to before 7.9.0 Fixed in 7.9.0 Patch available GHSA-3cgp-3xvw-98x8
- @remix-run/react (npm) Vendor— Affected 1.15.0 to before 2.17.1 Fixed in 2.17.1 Patch available GHSA-3cgp-3xvw-98x8
Remediation
- Fix · GHSA-3cgp-3xvw-98x8 react-router (npm) Fixed in 7.9.0 Advisory →
- Fix · GHSA-3cgp-3xvw-98x8 @remix-run/react (npm) Fixed in 2.17.1 Advisory →
Red Hat 4 advisories
- RHSA-2026:19712 Released 2026-05-20 · Red Hat rating CriticalRHOAI 3.3.3 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.3 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-dashboard-rhel9, registry.redhat.io/rhoai/odh-data-science-pipelines-argo-argoexec-rhel9 +33
- RHSA-2026:3960 Released 2026-03-06 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.6 Container Release Update
- Red Hat Ansible Automation Platform 2.6 registry.redhat.io/ansible-automation-platform-26/de-minimal-rhel9, registry.redhat.io/ansible-automation-platform-26/de-supported-rhel9, registry.redhat.io/ansible-automation-platform-26/ee-minimal-rhel9 +9
- RHSA-2026:3958 Released 2026-03-06 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
- Red Hat Ansible Automation Platform 2.6 for RHEL 10 receptor-1.6.3-4.el10ap, receptorctl-1.6.3-4.el10ap
- Red Hat Ansible Automation Platform 2.6 for RHEL 9 automation-controller-4.7.9-1.el9ap, automation-controller-cli-4.7.9-1.el9ap, automation-controller-server-4.7.9-1.el9ap +8
Show 1 more Red Hat advisories
- RHSA-2026:3782 Released 2026-03-04 · Red Hat rating CriticalRHOAI 2.25.3 - Red Hat OpenShift AI
- Red Hat OpenShift AI 2.25 registry.redhat.io/rhoai/odh-caikit-tgis-serving-rhel9, registry.redhat.io/rhoai/odh-codeflare-operator-rhel9, registry.redhat.io/rhoai/odh-dashboard-rhel9 +27
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2.6 | Fixed | RHSA-2026:3960 |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | Fixed | RHSA-2026:3958 |
| Red Hat OpenShift AI 2.25 | Fixed | RHSA-2026:3782 |
| Red Hat OpenShift AI 3.3 | Fixed | RHSA-2026:19712 |
Not affected: 8 products
- Red Hat Ansible Automation Platform 2.6
- Red Hat Ansible Automation Platform 2.6 for RHEL 10
- Red Hat Ansible Automation Platform 2.6 for RHEL 9
- Red Hat Build of Kueue
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat OpenShift AI 2.25
- Red Hat OpenShift AI 3.3
Timeline
- 2026-10-02 Threatist record created from CVE-2025-59057
- 2026-10-03 Alias added: GHSA-3cgp-3xvw-98x8
References
Advisory 2
Other 12
- https://github.com/remix-run/react-router/pull/14316
- https://github.com/remix-run/react-router/commit/0e774855797fcb3c7538c269158f4541beb55a1b
- 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
- https://bugzilla.redhat.com/show_bug.cgi?id=2428426
- https://github.com/remix-run/react-router
- https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v790
- https://github.com/remix-run/react-router/releases/tag/[email protected]
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-59057.json
More remix-run React-router vulnerabilities
- TI-2026-40200 React Router: Unauthenticated Denial of Service via Inefficient Route Matching CVSS 4.0HIGH 8.7
- TI-2026-30645 React Router vulnerable to DoS via unbounded path expansion in __manifest endpoint CVSS 3.1HIGH 7.5
- TI-2026-26400 React Router vulnerable to Denial of Service via reflected user input in single-fetch CVSS 3.1HIGH 7.5
- TI-2026-17723 React Router vulnerable to XSS via Open Redirects CVSS 3.1HIGH 8.0
- TI-2026-17585 React Router SSR XSS in ScrollRestoration CVSS 3.1HIGH 8.2
- TI-2026-30532 Deserialization of untrusted data in remix-run react-router CVSS 3.1HIGH 8.1
Sources
- CVE-2025-59057 · CVE Program
- CVE-2025-59057 · NVD
- FIRST EPSS
- GHSA-3cgp-3xvw-98x8 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-59057 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences