GHSA-mjj8-rxh9-q8f5

Suggest an improvement
Source
https://github.com/advisories/GHSA-mjj8-rxh9-q8f5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-mjj8-rxh9-q8f5/GHSA-mjj8-rxh9-q8f5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mjj8-rxh9-q8f5
Aliases
Published
2026-12-01T02:31:25Z
Modified
2026-12-01T02:45:04Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N CVSS Calculator
Summary
React Router: Cross-site Scripting due to escapeHtml use in meta refresh HTML attributes
Details

React Router’s unstable React Server Components support contains a cross-site scripting vulnerability when rendering redirects containing untrusted input, potentially allowing JavaScript execution in the application’s origin.

Affected Modes: RSC Data (unstable) and RSC Framework (unstable).

Exploitation requires an application to use attacker-controlled input as a redirect destination during server-side HTML rendering.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-12-01T02:31:25Z",
    "nvd_published_at":  "2026-11-30T21:17:30Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / react-router

Package

Affected ranges

Type
SEMVER
Events
Introduced
8.0.0
Fixed
8.4.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-mjj8-rxh9-q8f5/GHSA-mjj8-rxh9-q8f5.json"

npm / react-router

Package

Affected ranges

Type
SEMVER
Events
Introduced
7.11.0
Fixed
7.18.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-mjj8-rxh9-q8f5/GHSA-mjj8-rxh9-q8f5.json"