CVE-2026-139819: XSS via h:commandScript f:param value
Vulnerability summary
CVE-2026-139819 is a medium (CVSS 6.1) vulnerability in eclipse foundation eclipse mojarra. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 38.8% of scored vulnerabilities.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 01-12-2026PublishedVulnerability first disclosed.
- 01-12-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-79Improper Neutralization of Input During Web Page GenerationThe product 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.
- CWE-116Improper Encoding or Escaping of OutputThe product 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.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Eclipse foundation1 product
- eclipse mojarra≥ 2.3.0, < 4.0.31 | ≥ 4.1.0, < 4.1.22 | ≥ 5.0.0-M1, < 5.0.0-M14
Ubuntu1 product
- mojarraAll versions (No fix recorded)
2 vendors · 2 products