CVE-2026-139994
React Router: Cross-site Scripting due to escapeHtml use in meta refresh HTML attributes
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 Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » react-routervia npm react-router | >= 7.11.0, < 7.18.4>= 8.0.0, < 8.4.0 | 7.18.4, 8.4.0 |
| org.webjars » react-routervia npm react-router | >= 7.11.0, < 7.18.4>= 8.0.0, < 8.4.0 | 7.18.4, 8.4.0 |
| org.webjars.npm » react-routervia npm react-router | >= 7.11.0, < 7.18.4>= 8.0.0, < 8.4.0 | 7.18.4, 8.4.0 |
Blast radius
33% of the dependent artifacts (1) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 66 |
Most used dependents
- org.mvnpm » react-router-dom19 usages
- org.webjars.npm » react-router-dom14 usages
- org.mvnpm » zudoku0 usages
Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2026-139994 | nvd.nist.gov |
| Package | remix-run/react-router | github.com |
| Web | remix-run/react-router advisory GHSA-mjj8-rxh9-q8f5 | github.com |
| Web | remix-run/react-router pull request #15491 | github.com |
| Web | remix-run/react-router pull request #15492 | github.com |
| Web | remix-run/react-router commit c58d715 | github.com |
| Web | remix-run/react-router commit e0c6b5b | github.com |
| Web | remix-run/react-router CHANGELOG.md | github.com |
| Web | remix-run/react-router CHANGELOG.md | github.com |
| Web | remix-run/react-router release react-router@7.18.4 | github.com |
| Web | remix-run/react-router release react-router@8.4.0 | github.com |
