# CVE-2026-120421: Reflected XSS via client window id in URL client window mode

- Severity: Medium 6.1 (CVSS:3.1, scored by eclipse) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-04T15:12:11.190Z
- Modified: 2026-11-12T18:43:27.157Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Eclipse Foundation Eclipse Mojarra: from 2.2.0 before 4.0.29; from 4.1.0 before 4.1.20; from 5.0.0-M1 before 5.0.0-M12

## References

- <https://gitlab.eclipse.org/security/cve-assignment/-/work_items/536>
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1332>

## Sources

- CVE List: [CVE-2026-120421](https://www.cve.org/CVERecord?id=CVE-2026-120421), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2026-120421](https://nvd.nist.gov/vuln/detail/CVE-2026-120421), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-120421 · Whole record: https://cve.day/CVE-2026-120421.json · Rebuilt by cve.day 2026-11-25T22:59:49.002Z
