Skip to main content
HIGH

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.

Set up CVE WatchFree account · no credit card

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

  • CVE-2025-59057 Red Hat Product Security26 products fixed

    react-router: @remix-run/router: React Router XSS Vulnerability

  • RHSA-2026:19712 Red Hat Product Security12 products fixed

    Red Hat Security Advisory: RHOAI 3.3.3 - Red Hat OpenShift AI

  • RHSA-2026:3960 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Container Release Update

  • RHSA-2026:3958 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update

  • RHSA-2026:3782 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: RHOAI 2.25.3 - Red Hat OpenShift AI

Full record on NVD

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?

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.

Is CVE-2025-59057 actively exploited?

Active exploitation of CVE-2025-59057 has not been confirmed. Its EPSS score was 0.5% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-59057?

CVE-2025-59057 has a CVSS v3 base score of 7.6 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N.

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