CVE-2026-139819
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| eclipse | eclipse_mojarra | {"startIncluding":"2.3.0","endExcluding":"4.0.31"} | 4.0.31 |
| eclipse | eclipse_mojarra | {"startIncluding":"4.1.0","endExcluding":"4.1.22"} | 4.1.22 |
| eclipse | eclipse_mojarra | {"startIncluding":"5.0.0-M1","endExcluding":"5.0.0-M14"} | 5.0.0-M14 |
References
- https://github.com/eclipse-ee4j/mojarra/commit/1739f6ac368e66672f8d666673c3e9fbd9f513ad
- https://github.com/eclipse-ee4j/mojarra/commit/5780c3a3621c43bf3a055a2c1a0a42de1d6fb762
- https://github.com/eclipse-ee4j/mojarra/commit/707e9e5a3fe6a68cf4ddecc81dd60758ac04ab54
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/658
- https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1575
CWEs
CWE-79 CWE-116
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.