CVE-2019-17091
Cross-site Scripting in Eclipse Mojarra
Also known as GHSA-rjhx-c9qh-qh8f
Mitigation
- Upgrade org.glassfish:javax.faces to 2.2.20 or later.
- Upgrade org.glassfish:jakarta.faces to 2.3.10 or later.
Who should check
- Projects that depend on Maven package org.glassfish:javax.faces (< 2.2.20)
- Projects that depend on Maven package org.glassfish:jakarta.faces (< 2.3.10)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- org.glassfish:javax.faces < 2.2.20; org.glassfish:jakarta.faces < 2.3.10
- Fixed in
- 2.2.20, 2.3.10
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.1 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 2.47% chance of exploitation in 30 days (percentile 85, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
faces/context/PartialViewContextImpl.java in Eclipse Mojarra, as used in Mojarra for Eclipse EE4J before 2.3.10 and Mojarra JavaServer Faces before 2.2.20, allows Reflected XSS because a client window field is mishandled.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.glassfish:javax.faces | < 2.2.20 | 2.2.20 | osv |
| Maven org.glassfish:jakarta.faces | < 2.3.10 | 2.3.10 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2019-17091. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2019-17091.md Affected: org.glassfish:javax.faces < 2.2.20; org.glassfish:jakarta.faces < 2.3.10 Fixed in: 2.2.20, 2.3.10 Steps: 1. Search this machine and project for org.glassfish:javax.faces (Maven), org.glassfish:jakarta.faces (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- https://www.oracle.com/security-alerts/cpujan2020.html
- https://github.com/eclipse-ee4j/mojarra/pull/4567
- https://github.com/eclipse-ee4j/mojarra/commit/8f70f2bd024f00ecd5b3dcca45df73edda29dcee
- https://github.com/eclipse-ee4j/mojarra/commit/a3fa9573789ed5e867c43ea38374f4dbd5a8f81f
- https://github.com/javaserverfaces/mojarra/compare/2.2.19...2.2.20
- https://github.com/javaserverfaces/mojarra/commit/ae1c234d0a6750822ac69d4ae26d90e3571f27fe
- https://github.com/javaserverfaces/mojarra/commit/f61935cd39f34329fbf27b1972a506fbdd0ab4d4
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://www.oracle.com/security-alerts/cpujan2022.html
Exploits and PoCs
FAQ
Is CVE-2019-17091 being exploited?
There is no confirmed exploitation: CVE-2019-17091 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 2.47% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2019-17091?
Medium: CVSS 6.1 (v3.1, scored by NVD). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2019-17091?
org.glassfish:javax.faces < 2.2.20; org.glassfish:jakarta.faces < 2.3.10.
Is there a fix for CVE-2019-17091?
Yes. Fixed in 2.2.20, 2.3.10. Upgrade org.glassfish:javax.faces to 2.2.20 or later. Upgrade org.glassfish:jakarta.faces to 2.3.10 or later.
How do I check if I'm affected by CVE-2019-17091?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.