Reflected XSS via client window id in URL client window mode
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.0.29, 4.1.20 and 5.0.0-M12.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Eclipse Foundation | >=2.2.0 <4.0.29, >=4.1.0 <4.1.20, >=5.0.0-M1 <5.0.0-M12 | 4.0.29, 4.1.20, 5.0.0-M12 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket