#1153275 mojarra: CVE-2026-120421

Package:
src:mojarra
Source:
src:mojarra
Submitter:
Moritz Mühlenhoff
Date:
2026-11-07 06:35:04 UTC
Severity:
normal
Tags:
#1153275#5
Date:
2026-11-06 22:08:36 UTC
From:
To:
Hi,

The following vulnerability was published for mojarra.

CVE-2026-120421[0]:
| 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.

https://gitlab.eclipse.org/security/cve-assignment/-/work_items/536
https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1332


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-120421
https://www.cve.org/CVERecord?id=CVE-2026-120421

Please adjust the affected versions in the BTS as needed.