{"id":"CVE-2026-120421","aliases":["CVE-2026-120421"],"related":[],"kind":"vulnerability","state":"published","title":"Reflected XSS via client window id in URL client window mode","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-04T15:12:11.190Z","modified":"2026-11-12T18:43:27.157Z","severity":{"scorer":"eclipse","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"eclipse","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"2.2.0","fixed":"4.0.29","status":"affected"},{"type":"semver","introduced":"4.1.0","fixed":"4.1.20","status":"affected"},{"type":"semver","introduced":"5.0.0-M1","fixed":"5.0.0-M12","status":"affected"}],"vendor":"Eclipse Foundation","product":"Eclipse Mojarra","source":"cvelist"}],"references":[{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/536","tags":[],"sources":["cvelist","nvd"]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1332","tags":[],"sources":["cvelist","nvd"]}],"credits":["Christian Munier"],"assigner":"eclipse","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-04T18:18:42.408Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120421","url":"https://www.cve.org/CVERecord?id=CVE-2026-120421","licence":"CVE Terms of Use","modified":"2026-11-04T20:00:57.838Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120421","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120421","licence":"Public domain","modified":"2026-11-12T18:43:27.157Z"}],"updatedAt":"2026-11-25T22:59:49.002Z","epss":{"score":0.0021,"percentile":0.11902,"date":"2026-12-01T12:00:22.000Z"}}