GHSA-3cgp-3xvw-98x8HighCVSS 7.6

React Router has XSS Vulnerability

Published
January 8, 2026
Last Modified
September 8, 2026

🔗 CVE IDs covered (1)

📋 Description

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.

[!NOTE] This does not impact applications using Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>).

🎯 Affected products2

  • npm/react-router:>= 7.0.0, <= 7.8.2
  • npm/@remix-run/react:>= 1.15.0, <= 2.17.0

🔗 References (14)