freenode

← CVE tracker

CVE-2026-120421

Reflected XSS via client window id in URL client window mode

Severity
medium CVSS 6.1 (v3.1)
Affects
Eclipse Mojarra · Eclipse Foundation
Weakness
CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')
Published
4 November 2026 by eclipse
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.