cve.bz

CVE-2025-59057 shopify: Cross-site Scripting

7.6 highEPSS 0.5%Fix available

High (7.6) in shopify. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in react-router 7.9.0.

On this page
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.

Severity

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-01-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-59057 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59057?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59057?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-59057 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
shopify:react-routerfrom 7.0.0 through 7.8.2
shopify:remix-run/reactfrom 1.15.0 through 2.17.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3cgp-3xvw-98x8npmreact-router>=7.0.0 <7.9.07.9.0
GHSA-3cgp-3xvw-98x8npm@remix-run/react>=1.15.0 <2.17.12.17.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatansible_automation_platform:2.6::el9automation-controller, automation-controller-ui, automation-controller-cli and 2 more0:4.7.9-1.el9apRHSA-2026:3958
Red Hatansible_automation_platform:2.6::el9automation-platform-ui0:2.6.6-1.el9apRHSA-2026:3958
Red Hatansible_automation_platform:2.6::el9python3.12-aiohttp, python3.12-aiohttp-debuginfo, python3.12-aiohttp-debugsource0:3.13.3-2.el9apRHSA-2026:3958
Red Hatansible_automation_platform:2.6::el9python3.12-protobuf, python3.12-protobuf-debuginfo, python3.12-protobuf-debugsource0:5.29.6-1.el9apRHSA-2026:3958
Red Hatansible_automation_platform:2.6::el9receptor, receptorctl, receptor-debuginfo and 1 more0:1.6.3-4.el9apRHSA-2026:3958
Red Hatansible_automation_platform:2.6::el9, ansible_automation_platform_developer:2.6::el9python3.12-django0:4.2.28-1.el9apRHSA-2026:3958
Red Hatansible_automation_platform:2.6::el10receptor, receptorctl, receptor-debuginfo and 1 more0:1.6.3-4.el10apRHSA-2026:3958
Red Hatansible_automation_platform_developer:2.6::el9automation-controller, automation-controller-cli0:4.7.9-1.el9apRHSA-2026:3958
Red Hatansible_automation_platform_developer:2.6::el9, ansible_automation_platform_inside:2.6::el9receptor, receptorctl0:1.6.3-4.el9apRHSA-2026:3958

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-platform-ui-0:2.6.6-1.el9apFixed 2026-03-06RHSA-2026:3958
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/gateway-rhel9:1772543959Fixed 2026-03-06RHSA-2026:3960
Red Hat OpenShift AI 2.25rhoai/odh-dashboard-rhel9:1772093424Fixed 2026-03-04RHSA-2026:3782
Red Hat OpenShift AI 2.25rhoai/odh-mod-arch-model-registry-rhel9:1772093498Fixed 2026-03-04RHSA-2026:3782
Red Hat OpenShift AI 3.3rhoai/odh-dashboard-rhel9:1779189627Fixed 2026-05-20RHSA-2026:19712
Red Hat OpenShift AI 3.3rhoai/odh-mod-arch-gen-ai-rhel9:1778473763Fixed 2026-05-20RHSA-2026:19712
Red Hat OpenShift AI 3.3rhoai/odh-mod-arch-model-registry-rhel9:1778666987Fixed 2026-05-20RHSA-2026:19712
Red Hat Build of Kueuekueue/kueue-must-gather-rhel9Not affected
Red Hat Build of Kueuekueue/kueue-operator-bundleNot affected
Red Hat Build of Kueuekueue/kueue-rhel9Not affected
Red Hat Build of Kueuekueue/kueue-rhel9-operatorNot affected
Red Hat Enterprise Linux 10ipaNot affected
Red Hat Enterprise Linux 9ipaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-59057.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • boroeurnprach/CVE-2025-59057-PoC Harbor Check: matches CVE 0 stars, TypeScript, created
    A XSS vulnerability exists in in React Router's meta()/<Meta> APIs in Framework Mode when generating script:ld+json tags which could allow …

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON