CVE-2026-120421
6.1medium
Reflected XSS via client window id in URL client window mode
- Severity
- 6.1medium CVSS:3.1 by eclipse
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| Eclipse Foundation Eclipse Mojarra | from 2.2.0 before 4.0.29, from 4.1.0 before 4.1.20, from 5.0.0-M1 before 5.0.0-M12 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-120421 changed 2026-11-04 | CVE Terms of Use |
| NVD | CVE-2026-120421 changed 2026-11-12 | Public domain |