PoC Monitor
← All CVEs
CVE-2025-59057published 10 Jan 2026 02:40 UTCData: JSON · API

Remix-run react-router

React Router has XSS Vulnerability

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.

First public PoC 3.2 daysafter publication · 13 Jan 2026
Public PoCs11 on GitHub
CVSS7.6high · scored by CNA · CWE-79
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

remix-run react-router
  • @remix-run/react >= 1.15.0, < 2.17.1
  • react-router >= 7.0.0, < 7.9.0

Fixed in 2.17.1, 7.9.0

Mitigation

Upgrade react-router to 2.17.1 or 7.9.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published10 Jan 2026 · t = 0First public PoC13 Jan 2026 · t+3.2d

First public PoC 3.2 days after publication; not in CISA KEV. First PoC: boroeurnprach/CVE-2025-59057-PoC (created 13 Jan 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
boroeurnprach/CVE-2025-59057-PoC 13 Jan 2026 +3.2 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /vuln
(?i)^/vuln(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /vuln
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-59057 remix-run react-router exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/vuln"; reference:url,poc.griffinguard.io/cve/CVE-2025-59057; classtype:web-application-attack; sid:9255892; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /vuln
title: remix-run react-router exploit attempt (CVE-2025-59057)
id: gg-pocmon-cve-2025-59057-9255892
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-59057. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-59057
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/vuln'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.59057