Skip to main content
CVE-2025-59057VulnerabilityPublished Updated

CVE-2025-59057: remix-run react-router · Cross-site Scripting

Affects remix-run react-routerSource CVE Database V5

0

Not known to be exploited · CVSS 7.6 High : upgrade to 7.9.0 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
7.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.17.1, 7.9.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade react-router to 7.9.0; @remix-run/react to 2.17.1.

Affected software

ProductAffectedFixed in
remix-runreact-routerAffected
  • =@remix-run/react >= 1.15.0, < 2.17.1
  • =react-router >= 7.0.0, < 7.9.0
Fixed in–
npm@remix-run/reactpkg:npm/@remix-run/reactOther threatsAffected
  • >=1.15.0 <2.17.1
Fixed in
  • 2.17.1
npmreact-routerpkg:npm/react-routerOther threatsAffected
  • >=7.0.0 <7.9.0
Fixed in
  • 7.9.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

An official fix is available. Users should upgrade to @remix-run/react version 2.17.1 or later and react-router version 7.9.0 or later to remediate this vulnerability. Applications not using Framework Mode for meta() or <Meta> APIs are not impacted. Review usage of these APIs with untrusted input and apply the patch accordingly. Refer to the Red Hat advisories for detailed update instructions. No additional mitigations are required if the application is not using the vulnerable APIs in Framework Mode.

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.

References

Community reviews

Loading reviews…