Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/536
- https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1332
FAQ
What is CVE-2026-120421?
CVE-2026-120421 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 wind...
How severe is CVE-2026-120421?
CVE-2026-120421 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-120421?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.