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.
Published: 2026-12-01
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No solution or workaround provided in the CVE record.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Dec 2026 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Eclipse
Eclipse eclipse Mojarra
Vendors & Products Eclipse
Eclipse eclipse Mojarra

Wed, 02 Dec 2026 10:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 01 Dec 2026 10:45:00 +0000

Type Values Removed Values Added
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.
Title XSS via h:commandScript f:param value
Weaknesses CWE-116
CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Subscriptions

Eclipse Eclipse Mojarra
cve-icon MITRE

Status: PUBLISHED

Assigner: eclipse

Published:

Updated: 2026-12-01T15:25:09.184Z

Reserved: 2026-11-30T13:56:54.963Z

Link: CVE-2026-139819

cve-icon Vulnrichment

Updated: 2026-12-01T15:21:53.421Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-01T11:18:55.633

Modified: 2026-12-02T20:45:24.687

Link: CVE-2026-139819

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-05T21:15:03Z

Weaknesses