CVE-2025-59057 React Router has XSS Vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
16 packages: 7 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/ansible-automation-platform-26/gateway-rhel9:1772543959(Red Hat ansible_automation_platform 2.6 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-dashboard-rhel9:1772093424(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-dashboard-rhel9:1779189627(Red Hat openshift_ai 3.3 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9:1778473763(Red Hat openshift_ai 3.3 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9:1772093498(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9:1778666987(Red Hat openshift_ai 3.3 el9) | All versions | No fix listed | No fix yet |
| npm react-router(npm) | >= 7.0.0, < 7.9.0; >= 7.0.0, <= 7.8.2 | 7.9.0 | Fixed |
| redhat ansible automation platform | < 0:2.6.6-1.el9ap; < 1772543959 | 0:2.6.6-1.el9ap, 1772543959 | Fixed |
| redhat openshift ai | < 1772093424; < 1772093498; < 1778473763; < 1778666987 +1 more | 1772093424, 1772093498, 1778473763, 1778666987, 1779189627 | Fixed |
| redhat/automation-platform-ui(Red Hat ansible_automation_platform 2.6 el9) | < 2.6.6-1.el9ap | 2.6.6-1.el9ap | Fixed |
| remix-run @remix-run/react(npm) | >= 1.15.0, < 2.17.1; >= 1.15.0, <= 2.17.0 | 2.17.1 | Fixed |
| shopify react-router | >= 7.0.0, <= 7.8.2 | after 7.8.2 | Fixed |
| shopify remix-runreact | >= 1.15.0, <= 2.17.0 | after 2.17.0 | Fixed |
| redhat enterprise linux | = 9; = 10 | No fix listed | Versions listed |
| redhat kueue operator | = 1 | No fix listed | Versions listed |
| remix-run react-router | = @remix-run/react >= 1.15.0, < 2.17.1; = react-router >= 7.0.0, < 7.9.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm react-router(npm) | >= 7.0.0, <= 7.8.2 | No fix listed |
| remix-run @remix-run/react(npm) | >= 1.15.0, <= 2.17.0 | No fix listed |
| remix-run react-router | = @remix-run/react >= 1.15.0, < 2.17.1 | No fix listed |
| remix-run react-router | = react-router >= 7.0.0, < 7.9.0 | No fix listed |
| redhat ansible automation platform | < 0:2.6.6-1.el9ap | 0:2.6.6-1.el9ap |
| redhat ansible automation platform | < 1772543959 | 1772543959 |
| redhat openshift ai | < 1772093424 | 1772093424 |
| redhat openshift ai | < 1772093498 | 1772093498 |
| redhat openshift ai | < 1779189627 | 1779189627 |
| redhat openshift ai | < 1778473763 | 1778473763 |
| redhat openshift ai | < 1778666987 | 1778666987 |
| redhat kueue operator | = 1 | No fix listed |
| redhat enterprise linux | = 10 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat/automation-platform-ui(Red Hat:ansible_automation_platform:2.6::el9) | < 2.6.6-1.el9ap | 2.6.6-1.el9ap |
| redhat/ansible-automation-platform-26/gateway-rhel9:1772543959(Red Hat:ansible_automation_platform:2.6::el9) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9:1772093424(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9:1772093498(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9:1779189627(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9:1778473763(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9:1778666987(Red Hat:openshift_ai:3.3::el9) | All versions | No fix listed |
| shopify react-router | >= 7.0.0, <= 7.8.2 | No fix listed |
| shopify remix-runreact | >= 1.15.0, <= 2.17.0 | No fix listed |
| npm react-router(npm) | >= 7.0.0, < 7.9.0 | 7.9.0 |
| remix-run @remix-run/react(npm) | >= 1.15.0, < 2.17.1 | 2.17.1 |
References
- https://github.com/remix-run/react-router/security/advisories/GHSA-3cgp-3xvw-98x8 third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- RHSA-2026:19712 patch vendor-advisory
- RHSA-2026:3782 patch vendor-advisory
- RHSA-2026:3958 patch vendor-advisory
- RHSA-2026:3960 patch vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2428426 issue-tracking
- github.com
- github.com
- security.access.redhat.com
- github.com
- www.cve.org
- github.com product