CVE-2026-120421
Reflected XSS via client window id in URL client window mode
CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th
In Eclipse Mojarra versions 2.2.0 through 4.0.28, 4.1.0 through 4.1.19, and 5.0.0-M1 through 5.0.0-M11, when URL client window mode is enabled (`jakarta.faces.CLIENT_WINDOW_MODE=url`), the client window id from the `jfwid` or `jakarta.faces.ClientWindow` request parameter is appended to generated URLs without URL-encoding. `h:button` renders such a URL into a JavaScript string literal, which allows reflected cross-site scripting. With `com.sun.faces.enableCspNonce=true`, the injected script runs on page load inside the nonce script element, bypassing the Content Security Policy.
| CWE | CWE-79 |
| Vendor | eclipse foundation |
| Product | eclipse mojarra |
| Published | Nov 4, 2026 |
| Last Updated | Nov 4, 2026 |
Stay Ahead of the Next One
Get instant alerts for eclipse foundation eclipse mojarra
Be the first to know when new medium vulnerabilities affecting eclipse foundation eclipse mojarra are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
Eclipse Foundation / Eclipse Mojarra
2.2.0 < 4.0.29 4.1.0 < 4.1.20 5.0.0-M1 < 5.0.0-M12
References
Credits
๐ Christian Munier