Eclipse Mojarra <5.0.0-M13 Reflected XSS via f:param in UI tags
CVE-2026-139819 Published on December 1, 2026
XSS via h:commandScript f:param value
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.
Vulnerability Analysis
CVE-2026-139819 can be exploited with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality and integrity, and no impact on availability.
Weakness Types
What is a XSS Vulnerability?
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CVE-2026-139819 has been classified to as a XSS vulnerability or weakness.
What is an Output Sanitization Vulnerability?
The software prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
CVE-2026-139819 has been classified to as an Output Sanitization vulnerability or weakness.
Products Associated with CVE-2026-139819
Want to know whenever a new CVE is published for Eclipse Mojarra? stack.watch will email you.
Affected Versions
Eclipse Foundation Eclipse Mojarra:- Version 2.3.0 and below 4.0.31 is affected.
- Version 4.1.0 and below 4.1.22 is affected.
- Version 5.0.0-M1 and below 5.0.0-M14 is affected.