Skip to main content
CVE-2026-139819VulnerabilityPublished

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

0
Compare
Authoritative record:CVE-2026-139819· Medium 6.1

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

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (eclipse)CVSS 3.16.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Eclipse FoundationEclipse MojarraAffected
  • >=5.0.0-M1 <5.0.0-M14
Fixed in
  • 5.0.0-M14
Eclipse FoundationEclipse MojarraAffected
  • >=4.1.0 <4.1.22
Fixed in
  • 4.1.22
Eclipse FoundationEclipse MojarraAffected
  • >=2.3.0 <4.0.31
Fixed in
  • 4.0.31
Mavenorg.eclipse.ee4j/mojarrapkg:maven/org.eclipse.ee4j/mojarraOther threatsAffected
  • >=2.3.0 <4.0.31
  • >=4.1.0 <4.1.22
  • >=5.0.0-M1 <5.0.0-M14
Fixed in
  • 4.0.31
  • 4.1.22
  • 5.0.0-M14

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

Community reviews

Loading reviews…