Bug 2567021 (CVE-2026-120421) - CVE-2026-120421 org.glassfish/jakarta.faces: Eclipse Mojarra: Reflected cross-site scripting via unencoded client window parameter
Summary: CVE-2026-120421 org.glassfish/jakarta.faces: Eclipse Mojarra: Reflected cross...
Keywords:
Status: NEW
Alias: CVE-2026-120421
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-04 15:26 UTC by OSIDB Bzimport
Modified: 2026-11-05 14:39 UTC (History)
19 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-04 15:26:42 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.