react-router
Affected
- introduced
7.0.0, fixed7.9.0(semver)
Fixed versions
7.9.0
Fix
- Fixed version
7.9.0npm install [email protected]
Advisory
Also known as: CVE-2025-59057
React Router has XSS Vulnerability
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>).
High Basis: The source's own band: HIGH
7.0.0, fixed 7.9.0 (semver)7.9.0
7.9.0npm install [email protected]1.15.0, fixed 2.17.1 (semver)2.17.1
2.17.1npm install @remix-run/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0