{"api_version":"1","generated_at":"2026-12-01T12:49:05+00:00","cve":"CVE-2026-139819","urls":{"html":"https://cve.report/CVE-2026-139819","api":"https://cve.report/api/cve/CVE-2026-139819.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139819","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139819"},"summary":{"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.","state":"PUBLISHED","assigner":"eclipse","published_at":"2026-12-01 11:18:55","updated_at":"2026-12-01 11:18:55"},"problem_types":["CWE-79","CWE-116","CWE-79 CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')","CWE-116 CWE-116 Improper Encoding or Escaping of Output"],"metrics":[{"version":"3.1","source":"emo@eclipse.org","type":"Secondary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"CVSS","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","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/eclipse-ee4j/mojarra/commit/5780c3a3621c43bf3a055a2c1a0a42de1d6fb762","name":"https://github.com/eclipse-ee4j/mojarra/commit/5780c3a3621c43bf3a055a2c1a0a42de1d6fb762","refsource":"emo@eclipse.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/eclipse-ee4j/mojarra/commit/707e9e5a3fe6a68cf4ddecc81dd60758ac04ab54","name":"https://github.com/eclipse-ee4j/mojarra/commit/707e9e5a3fe6a68cf4ddecc81dd60758ac04ab54","refsource":"emo@eclipse.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1575","name":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1575","refsource":"emo@eclipse.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/eclipse-ee4j/mojarra/commit/1739f6ac368e66672f8d666673c3e9fbd9f513ad","name":"https://github.com/eclipse-ee4j/mojarra/commit/1739f6ac368e66672f8d666673c3e9fbd9f513ad","refsource":"emo@eclipse.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/658","name":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/658","refsource":"emo@eclipse.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139819","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139819","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Eclipse Foundation","product":"Eclipse Mojarra","version":"affected 2.3.0 4.0.31 semver","platforms":[]},{"source":"CNA","vendor":"Eclipse Foundation","product":"Eclipse Mojarra","version":"affected 4.1.0 4.1.22 semver","platforms":[]},{"source":"CNA","vendor":"Eclipse Foundation","product":"Eclipse Mojarra","version":"affected 5.0.0-M1 5.0.0-M14 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Mauricio Urizar, DeepSecurity.pe Research Team","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Eclipse Mojarra","vendor":"Eclipse Foundation","versions":[{"lessThan":"4.0.31","status":"affected","version":"2.3.0","versionType":"semver"},{"lessThan":"4.1.22","status":"affected","version":"4.1.0","versionType":"semver"},{"lessThan":"5.0.0-M14","status":"affected","version":"5.0.0-M1","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Mauricio Urizar, DeepSecurity.pe Research Team"}],"datePublic":"2026-12-01T10:31:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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 `&lt;/script&gt;` 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.</p>"}],"value":"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."}],"impacts":[{"capecId":"CAPEC-591","descriptions":[{"lang":"en","value":"CAPEC-591 Reflected XSS"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-116","description":"CWE-116 Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-01T10:35:14.240Z","orgId":"e51fbebd-6053-4e49-959f-1b94eeb69a2c","shortName":"eclipse"},"references":[{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1575"},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/658"},{"url":"https://github.com/eclipse-ee4j/mojarra/commit/707e9e5a3fe6a68cf4ddecc81dd60758ac04ab54"},{"url":"https://github.com/eclipse-ee4j/mojarra/commit/5780c3a3621c43bf3a055a2c1a0a42de1d6fb762"},{"url":"https://github.com/eclipse-ee4j/mojarra/commit/1739f6ac368e66672f8d666673c3e9fbd9f513ad"}],"source":{"discovery":"UNKNOWN"},"title":"XSS via h:commandScript f:param value","x_generator":{"engine":"Vulnogram 1.0.5"}}},"cveMetadata":{"assignerOrgId":"e51fbebd-6053-4e49-959f-1b94eeb69a2c","assignerShortName":"eclipse","cveId":"CVE-2026-139819","datePublished":"2026-12-01T10:35:14.240Z","dateReserved":"2026-11-30T13:56:54.963Z","dateUpdated":"2026-12-01T10:35:14.240Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-01 11:18:55","lastModifiedDate":"2026-12-01 11:18:55","problem_types":["CWE-79","CWE-116","CWE-79 CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')","CWE-116 CWE-116 Improper Encoding or Escaping of Output"],"metrics":{"cvssMetricV31":[{"source":"emo@eclipse.org","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139819","Ordinal":"1","Title":"XSS via h:commandScript f:param value","CVE":"CVE-2026-139819","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139819","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"XSS via h:commandScript f:param value"}]}}}