CVE Database›Document archive›CVE-2025-59057

CVE-2025-59057

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

Loading…

Severity

Important

Red Hat Product Security

7.6

CVSS 3.1

Review impact separately from score.

Published · January 10, 2026

Updated · November 3, 2026

Description

The cross site scripting flaw has been discovered in the npm react-router package. 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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

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.

CVSS / CWE

CVSS 3.1 · 7.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

CWE-79 · Improper Neutralization of Input During Web Page Generation