CVE-2026-120421
Published:November 04, 2026
Updated:November 06, 2026
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 Packages
https://github.com/eclipse-ee4j/mojarra.git (GITHUB):
Affected version(s) >=2.3.3.102 <4.0.29-RELEASE || >=3.0.0-RC1-RELEASE <4.0.29-RELEASE || >=4.0.0-M1-RELEASE <4.0.29-RELEASEFix Suggestion:
Update to version 4.0.29-RELEASEhttps://github.com/eclipse-ee4j/mojarra.git (GITHUB):
Affected version(s) >=4.1.0-M1-RELEASE <4.1.20-RELEASEFix Suggestion:
Update to version 4.1.20-RELEASEhttps://github.com/eclipse-ee4j/mojarra.git (GITHUB):
Affected version(s) >=5.0.0-M1-RELEASE <5.0.0-M12Fix Suggestion:
Update to version 5.0.0-M12org.glassfish.mojarra:mojarra (JAVA):
Affected version(s) >=5.0.0-M1 <5.0.0-M12Fix Suggestion:
Update to version 5.0.0-M12org.glassfish:jakarta.faces (JAVA):
Affected version(s) >=4.0.0-M1 <4.0.29 || >=3.0.0-RC1 <4.0.29 || >=2.3.9 <4.0.29Fix Suggestion:
Update to version 4.0.29org.glassfish:jakarta.faces (JAVA):
Affected version(s) >=4.1.0-M1 <4.1.20Fix Suggestion:
Update to version 4.1.20Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation
EPSS
Base Score:
0.21