CVE-2026-139819

NameCVE-2026-139819
DescriptionIn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mojarra (PTS)bookworm, trixie2.2.8-6fixed
forky, sid2.2.8-7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mojarrasource(unstable)(not affected)

Notes

- mojarra <not-affected> (Vulnerable code not present)
https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1575
https://gitlab.eclipse.org/security/cve-assignment/-/work_items/658
Fixed by: https://github.com/eclipse-ee4j/mojarra/commit/707e9e5a3fe6a68cf4ddecc81dd60758ac04ab54 (4.0.31-RELEASE)

Search for package or bug name: Reporting problems