{"schemaVersion":4,"id":"CVE-2026-139819","aliases":["UBUNTU-CVE-2026-139819"],"status":"published","duplicateOf":null,"title":"XSS via h:commandScript f:param value","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.","dates":{"published":"2026-12-01T10:35:14.240Z","modified":"2026-12-01T15:25:09.184Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00427,"percentile":0.38859,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-02T00:00:00.000Z","score":0.00427,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00427,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00427,"percentile":0.38859}],"last30":[{"date":"2026-12-02T00:00:00.000Z","score":0.00427,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00427,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00427,"percentile":0.38859}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation","description":"The 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.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output","description":"The 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.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/116.html"}],"affected":[{"vendor":"ubuntu","product":"mojarra","name":"mojarra","label":"mojarra","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mojarra","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"eclipse foundation","product":"eclipse mojarra","name":"Eclipse Mojarra","label":"eclipse mojarra","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.3.0, < 4.0.31","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.3.0","startInclusive":true,"end":"4.0.31","endInclusive":false}},{"text":"≥ 4.1.0, < 4.1.22","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.1.0","startInclusive":true,"end":"4.1.22","endInclusive":false}},{"text":"≥ 5.0.0-M1, < 5.0.0-M14","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.0.0-M1","startInclusive":true,"end":"5.0.0-M14","endInclusive":false}}],"versionsText":"≥ 2.3.0, < 4.0.31 | ≥ 4.1.0, < 4.1.22 | ≥ 5.0.0-M1, < 5.0.0-M14","eol":null,"hubHref":"/vendor/eclipse_foundation/eclipse_mojarra"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1575","label":"gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1575","hostname":"gitlab.eclipse.org","tags":[]},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/658","label":"gitlab.eclipse.org/security/cve-assignment/-/work_items/658","hostname":"gitlab.eclipse.org","tags":[]},{"url":"https://github.com/eclipse-ee4j/mojarra/commit/707e9e5a3fe6a68cf4ddecc81dd60758ac04ab54","label":"github.com/eclipse-ee4j/mojarra/commit/707e9e5a3fe6a68cf4ddecc81dd60758ac04ab54","hostname":"github.com","tags":[]},{"url":"https://github.com/eclipse-ee4j/mojarra/commit/5780c3a3621c43bf3a055a2c1a0a42de1d6fb762","label":"github.com/eclipse-ee4j/mojarra/commit/5780c3a3621c43bf3a055a2c1a0a42de1d6fb762","hostname":"github.com","tags":[]},{"url":"https://github.com/eclipse-ee4j/mojarra/commit/1739f6ac368e66672f8d666673c3e9fbd9f513ad","label":"github.com/eclipse-ee4j/mojarra/commit/1739f6ac368e66672f8d666673c3e9fbd9f513ad","hostname":"github.com","tags":[]},{"url":"https://ubuntu.com/security/CVE-2026-139819","label":"ubuntu.com/security/CVE-2026-139819","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139819","label":"www.cve.org/CVERecord?id=CVE-2026-139819","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-01T10:35:14.240Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T15:25:09.184Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,61],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00427,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T15:25:09.184Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-01T15:25:09.184Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-01T15:19:26.492Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00427,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:51:22.697Z","stale":false,"partial":false}}