Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-120421 EUVD-2026-116938GHSA-4hw7-pfg5-v529

Reflected XSS via client window id in URL client window mode

Published Nov 4, 2026 · Updated Nov 4, 2026 · Assigned by eclipse

Description

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 products

VendorProductAffectedFixed
Eclipse Foundation Eclipse Mojarra 2.2.0 – < 4.0.29, 4.1.0 – < 4.1.20, 5.0.0-M1 – < 5.0.0-M12 4.0.29

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mojarra No fix yet —
Debian 13 mojarra No fix yet —
Debian 12 mojarra No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mojarra No fix yet —
Ubuntu 26.04 LTS mojarra No fix yet —
Ubuntu 24.04 LTS mojarra No fix yet —
Ubuntu 22.04 LTS mojarra No fix yet —
Ubuntu 20.04 LTS mojarra No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS mojarra No fix yet —
Ubuntu 16.04 LTS mojarra No fix yet —

References