CVE-2026-139819
Published:December 01, 2026
Updated:December 01, 2026
In Eclipse Mojarra versions 2.3.0 to 4.0.30, 4.1.0 to 4.1.21 and 5.0.0-M1 to 5.0.0-M13, the JavaScript string literal which is rendered for an "f:param" value of "h:commandScript" escapes only single quote and backslash. The literal is written into a "script" element, so a value containing "</script>" ends the element and injects HTML and JavaScript into the page. When the application binds the value to request input, this is a reflected cross-site scripting vulnerability. When the CSP nonce mode is enabled, the same applies to "f:param" values of "h:commandLink" and "h:commandButton", though the Content-Security-Policy then limits the impact to HTML injection.
Affected Packages
https://github.com/eclipse-ee4j/mojarra.git (GITHUB):
Affected version(s) >=4.1.0-M1-RELEASE <4.1.22-RELEASEFix Suggestion:
Update to version 4.1.22-RELEASEhttps://github.com/eclipse-ee4j/mojarra.git (GITHUB):
Affected version(s) >=2.3.3.102 <4.0.31-RELEASE || >=3.0.0-RC1-RELEASE <4.0.31-RELEASE || >=4.0.0-M1-RELEASE <4.0.31-RELEASEFix Suggestion:
Update to version 4.0.31-RELEASEhttps://github.com/eclipse-ee4j/mojarra.git (GITHUB):
Affected version(s) >=5.0.0-M1-RELEASE <5.0.0-M14Fix Suggestion:
Update to version 5.0.0-M14org.glassfish.mojarra:mojarra (JAVA):
Affected version(s) >=5.0.0-M1 <5.0.0-M14Fix Suggestion:
Update to version 5.0.0-M14org.glassfish:jakarta.faces (JAVA):
Affected version(s) >=4.1.0-M1 <4.1.22Fix Suggestion:
Update to version 4.1.22org.glassfish:jakarta.faces (JAVA):
Affected version(s) >=4.0.0-M1 <4.0.31 || >=3.0.0-RC1 <4.0.31 || >=2.3.9 <4.0.31Fix Suggestion:
Update to version 4.0.31Related Resources (5)
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