CVE-2026-120421

published 4 Nov 2026 · updated 12 Nov 2026

Reflected XSS via client window id in URL client window mode

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.0.29, 4.1.20 and 5.0.0-M12.

In Eclipse Mojarra versions 2.2.0 through 4.0.28, 4.1.0 through 4.1.19, and 5.0.0-M1 through 5.0.0-M11, when URL client window mode is enabled (`jakarta.faces.CLIENT_WINDOW_MODE=url`), the client window id from the `jfwid` or `jakarta.faces.ClientWindow` request parameter is appended to generated URLs without URL-encoding. `h:button` renders such a URL into a JavaScript string literal, which allows reflected cross-site scripting. With `com.sun.faces.enableCspNonce=true`, the injected script runs on page load inside the nonce script element, bypassing the Content Security Policy.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Eclipse Foundation>=2.2.0 <4.0.29, >=4.1.0 <4.1.20, >=5.0.0-M1 <5.0.0-M124.0.29, 4.1.20, 5.0.0-M12

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-120421 severity on Zeptric[![CVE-2026-120421](https://zeptric.io/badge/cve/CVE-2026-120421.svg)](https://zeptric.io/cve/CVE-2026-120421)