Bug 2587814 (CVE-2026-139819) - CVE-2026-139819 org.glassfish/jakarta.faces: org.glassfish/javax.faces: Eclipse Mojarra: Cross-site scripting via improper parameter escaping
Summary: CVE-2026-139819 org.glassfish/jakarta.faces: org.glassfish/javax.faces: Eclip...
Keywords:
Status: NEW
Alias: CVE-2026-139819
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-01 10:51 UTC by OSIDB Bzimport
Modified: 2026-12-01 13:46 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-01 10:51:32 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.