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
Source GCVE Database
Not known to be exploited · CVSS 6.1 Medium · fixed in 5.0.0-M14 : update Eclipse Mojarra when convenient.
Data as of 1 Dec 2026, 13:17 UTC
Thin evidence
One scorer or none| CNA (eclipse) | CVSS 3.1 | 6.1 |
|---|
- Patch
- Available – fixed in 5.0.0-M14, 4.1.22, 4.0.31
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade Eclipse Mojarra and org.eclipse.ee4j/mojarra to 5.0.0-M14, 4.1.22 or 4.0.31.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Eclipse FoundationEclipse Mojarra | Affected
| Fixed in
|
| Eclipse FoundationEclipse Mojarra | Affected
| Fixed in
|
| Eclipse FoundationEclipse Mojarra | Affected
| Fixed in
|
Mavenorg.eclipse.ee4j/mojarrapkg:maven/org.eclipse.ee4j/mojarraOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should consider disabling or restricting usage of affected components or applying strict Content-Security-Policy headers to mitigate injection impact. Review application input handling and escaping practices for f:param values in h:commandScript, h:commandLink, and h:commandButton components.
Description
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 contain a reflected cross-site scripting (XSS) vulnerability. The issue arises because the JavaScript string literal rendered for an f:param value of h:commandScript escapes only single quotes and backslashes. This allows injection of HTML and JavaScript when a value includes '</script>', ending the script element prematurely. When Content-Security-Policy (CSP) nonce mode is enabled, similar injection is possible via f:param values of h:commandLink and h:commandButton, though CSP limits the impact to HTML injection.
References
- nvd.nist.gov/vuln/detail/CVE-2026-139819 (opens in a new tab)
- github.com/eclipse-ee4j/mojarra/commit/1739f6ac368e66672f8d666673c3e9fbd9f513ad (opens in a new tab)
- github.com/eclipse-ee4j/mojarra/commit/5780c3a3621c43bf3a055a2c1a0a42de1d6fb762 (opens in a new tab)
- github.com/eclipse-ee4j/mojarra/commit/707e9e5a3fe6a68cf4ddecc81dd60758ac04ab54 (opens in a new tab)
- gitlab.eclipse.org/security/cve-assignment/-/work_items/658 (opens in a new tab)
- gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1575 (opens in a new tab)