Reflected XSS via client window id in URL client window mode
- State
- Published
- Severity
- 6.1 Medium
- Published
- Nov 4, 2026
- Updated
- Nov 4, 2026
- Reserved
- Nov 2, 2026
Description
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.
| Product | Versions |
|---|---|
| Eclipse Mojarra Eclipse Foundation | 2.2.0 to before 4.0.29 Affected4.1.0 to before 4.1.20 Affected5.0.0-M1 to before 5.0.0-M12 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.1 Medium | eclipse |
Weaknesses
- CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.