npm
CVE-2026-139994
React Router: Cross-site Scripting due to escapeHtml use in meta refresh HTML attributes
- Severity
- Medium 4.7
- Published
- 1 Dec 2026
- Last changed
- 1 Dec 2026
- Added to UpHeron
- 1 Dec 2026
- Fixed in
- 7.18.4, 8.4.0
- Exploit chance
- 0.6% in the next 30 daysHigher than 51% of CVEs. EPSS by FIRST, 1 Dec 2026
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N- Also known as
- GHSA-mjj8-rxh9-q8f5
- Sources
- OSV.dev and GitHub
Description
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.
Affected software
| Software | Affected versions |
|---|---|
react-routernpm · osv:npm:react-router |
|
About react-router
- Weekly downloads (npm)
- 75,148,114npm, 1 Dec 2026
Vulnerabilities in react-router
- In our list
- 6
- Published in the last 12 months
- 6
- Critical, last 12 months
- 0
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-139998React Router: Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handlingHigh 1 Dec 2026
- CVE-2026-139999React Router: Cross-scheme CSRF bypass in Origin validationMedium 1 Dec 2026
- CVE-2026-139997React Router: Open redirect via tab character in redirect() paths — bypass of the CVE-2026-53669 / CVE-2026-40181 normalizationMedium 1 Dec 2026
- CVE-2026-139995React Router: Unauthenticated denial of service via unbounded route-manifest path expansion during SSR document renderingHigh 7.5 1 Dec 2026
- CVE-2026-139996React Router: Prototype Pollution via Vendored turbo-stream DeserializerHigh 7.4 1 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-139994
- GitHub Advisory Database https://github.com/advisories/GHSA-mjj8-rxh9-q8f5