CVE-2026-120421
JSON

6.1medium

Reflected XSS via client window id in URL client window mode

Severity
6.1medium CVSS:3.1 by eclipse
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
eclipse

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.

Affected

Product or packageVersionsReported by
Eclipse Foundation Eclipse Mojarrafrom 2.2.0 before 4.0.29, from 4.1.0 before 4.1.20, from 5.0.0-M1 before 5.0.0-M12CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120421 changed 2026-11-04CVE Terms of Use
NVDCVE-2026-120421 changed 2026-11-12Public domain