GHSA-3cgp-3xvw-98x8

Suggest an improvement
Source
https://github.com/advisories/GHSA-3cgp-3xvw-98x8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-3cgp-3xvw-98x8/GHSA-3cgp-3xvw-98x8.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-3cgp-3xvw-98x8
Aliases
Published
2026-01-08T20:42:20Z
Modified
2026-09-08T16:45:06Z
Severity
  • 7.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N CVSS Calculator
Summary
React Router has XSS Vulnerability
Details

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>).

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-01-08T20:42:20Z",
    "nvd_published_at": "2026-01-10T03:15:48Z",
    "severity": "HIGH"
}
References

Affected packages

npm / react-router

Package

Affected ranges

Type
SEMVER
Events
Introduced
7.0.0
Fixed
7.9.0

Database specific

last_known_affected_version_range
"<= 7.8.2"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-3cgp-3xvw-98x8/GHSA-3cgp-3xvw-98x8.json"

npm / @remix-run/react

Package

Name
@remix-run/react
View open source insights on deps.dev
Purl
pkg:npm/%40remix-run/react

Affected ranges

Type
SEMVER
Events
Introduced
1.15.0
Fixed
2.17.1

Database specific

last_known_affected_version_range
"<= 2.17.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-3cgp-3xvw-98x8/GHSA-3cgp-3xvw-98x8.json"