MODERATE 4.7

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)

ArtifactAffected versionsFixed 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

2affected artifacts
23affected versions
3dependent artifacts (est.)
66dependent versions

33% of the dependent artifacts (1) still pull an affected version in their latest release.

DepthDependent versions
Direct
66

Most used dependents

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