CVE-2025-59057
CVSS v3
7.6
HIGH
EPSS Score
0.5 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for react-router.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- @remix-run/reactnpmfrom 1.15.0 · fixed in 2.17.1
- react-routernpmfrom 7.0.0 · fixed in 7.9.0
Vendor advisories
react-router: @remix-run/router: React Router XSS Vulnerability
Red Hat Security Advisory: RHOAI 3.3.3 - Red Hat OpenShift AI
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Container Release Update
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
Red Hat Security Advisory: RHOAI 2.25.3 - Red Hat OpenShift AI
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.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
- Published
- 2026-01-10
- Last Modified
- 2026-01-30
Frequently asked questions
What is CVE-2025-59057?
Is CVE-2025-59057 actively exploited?
What is the CVSS score for CVE-2025-59057?
Running react-router? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-43864same product
- CVE-2026-22029same product
- CVE-2025-43865same product
- CVE-2026-21884same productReact Router SSR XSS in ScrollRestoration
- CVE-2025-68470same productReact Router has unexpected external redirect via untrusted paths
- CVE-2026-53666same product
- CVE-2026-53667same product
- CVE-2026-53668same product