{"id":"CVE-2026-120421","aliases":["DEBIAN-CVE-2026-120421","EUVD-2026-116938","GHSA-4hw7-pfg5-v529","UBUNTU-CVE-2026-120421"],"status":"published","title":"Reflected XSS via client window id in URL client window mode","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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.0021,"percentile":0.11328,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2026-11-04T15:12:11Z","modified":"2026-11-06T11:00:08Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"mojarra","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.8-6","2.2.8-7"]},{"source":"osv","ecosystem":"Debian:13","package":"mojarra","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.8-6","2.2.8-7"]},{"source":"osv","ecosystem":"Debian:14","package":"mojarra","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.8-6","2.2.8-7"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mojarra","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.8-1","2.2.8-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mojarra","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.8-3","2.2.8-4","2.2.8-5"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"mojarra","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.8-6"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"mojarra","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.8-6"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"mojarra","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.8-6"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"mojarra","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.8-6build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"mojarra","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.8-6","2.2.8-6build1"]}],"products":[{"vendor":"eclipse foundation","product":"eclipse mojarra"}],"references":[{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/536","tags":["report"]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1332","tags":["report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120421"},{"url":"https://github.com/advisories/GHSA-4hw7-pfg5-v529"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-120421","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-120421","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-120421","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-120421","title":"Reflected XSS via client window id in URL client window mode","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.","status":"published","published":"2026-11-04T15:12:11.19Z","modified":"2026-11-04T20:00:57.838Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-04T21:42:22.271694Z"}],"euvd":[{"id":"EUVD-2026-116938","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.","status":"published","published":"2026-11-04T15:12:11Z","modified":"2026-11-04T20:00:57Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-04T21:45:44.368355Z"}],"ghsa":[{"id":"GHSA-4hw7-pfg5-v529","title":"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...","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.","status":"published","published":"2026-11-04T15:32:31Z","modified":"2026-11-04T15:32:40Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-04T15:52:09.418756Z"}],"nvd":[{"id":"CVE-2026-120421","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.","status":"published","published":"2026-11-04T15:17:41.59Z","modified":"2026-11-12T18:43:27.157Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-12T19:32:17.579321Z"}],"osv":[{"id":"DEBIAN-CVE-2026-120421","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.","status":"published","published":"2026-11-04T15:17:41.59Z","modified":"2026-11-06T11:00:08.619771263Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-06T11:08:40.431174Z"},{"id":"UBUNTU-CVE-2026-120421","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.","status":"published","published":"2026-11-05T00:00:00Z","modified":"2026-11-06T01:00:35.464364835Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-06T01:33:05.666804Z"}]}}
