# CVE-2025-59057: React Router has XSS Vulnerability

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-01-08T20:42:20.000Z
- Modified: 2026-09-08T16:45:04.240Z
- Also known as: GHSA-3cgp-3xvw-98x8
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- remix-run react-router: @remix-run/react >= 1.15.0, < 2.17.1; react-router  >= 7.0.0, < 7.9.0
- automation-platform-ui: no versions given (not affected: from 0:2.6.6-1.el9ap before *)
- ansible-automation-platform-26/gateway-rhel9: no versions given (not affected: from 1772543959 before *)
- rhoai/odh-dashboard-rhel9: no versions given (not affected: from 1772093424 before *; from 1779189627 before *)
- rhoai/odh-mod-arch-model-registry-rhel9: no versions given (not affected: from 1772093498 before *; from 1778666987 before *)
- rhoai/odh-mod-arch-gen-ai-rhel9: no versions given (not affected: from 1778473763 before *)
- kueue/kueue-must-gather-rhel9: no versions given
- kueue/kueue-operator-bundle: no versions given
- kueue/kueue-rhel9: no versions given
- kueue/kueue-rhel9-operator: no versions given
- ipa: no versions given
- react-router (npm): from 7.0.0 before 7.9.0
- @remix-run/react (npm): from 1.15.0 before 2.17.1
- shopify react-router: from 7.0.0 up to 7.8.2
- shopify remix-run/react: from 1.15.0 up to 2.17.0

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`
- redhat-SADP: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://github.com/remix-run/react-router/security/advisories/GHSA-3cgp-3xvw-98x8> (third-party-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2025-59057> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2428426> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-59057.json> (web)
- <https://access.redhat.com/errata/RHSA-2026:3958> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:3960> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:3782> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19712> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59057> (advisory)
- <https://github.com/remix-run/react-router/pull/14316> (web)
- <https://github.com/remix-run/react-router/commit/0e774855797fcb3c7538c269158f4541beb55a1b> (web)
- <https://github.com/remix-run/react-router> (package)
- <https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v790> (web)
- <https://github.com/remix-run/react-router/releases/tag/react-router@7.9.0> (web)

## Sources

- CVE List: [CVE-2025-59057](https://www.cve.org/CVERecord?id=CVE-2025-59057), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-3cgp-3xvw-98x8](https://github.com/advisories/GHSA-3cgp-3xvw-98x8), CC-BY-4.0, modified 2026-09-08
- NVD: [CVE-2025-59057](https://nvd.nist.gov/vuln/detail/CVE-2025-59057), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2025-59057 · Whole record: https://cve.day/CVE-2025-59057.json · Rebuilt by cve.day 2026-11-25T22:59:10.485Z
