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…
CVE-2026-139819
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 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.
Assessment
- CVSS
- 6.1 (v3.1)
- Severity
- Medium
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 1 December 2026
- Last updated
- 1 December 2026
- Affected
- Eclipse Foundation · Eclipse Mojarra
- Weakness
- CWE-116, CWE-79
- Assigner
- emo@eclipse.org
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
At the source
References
- https://github.com/eclipse-ee4j/mojarra/commit/1739f6ac368e66672f8d666673c3e9fbd9f513ad
- https://github.com/eclipse-ee4j/mojarra/commit/5780c3a3621c43bf3a055a2c1a0a42de1d6fb762
- https://github.com/eclipse-ee4j/mojarra/commit/707e9e5a3fe6a68cf4ddecc81dd60758ac04ab54
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/658
- https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1575
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-139819