CVE-2026-120421
published medium CVSS 3.1 · 6.1Reflected XSS via client window id in URL client window mode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Eclipse Foundation | — | Eclipse Mojarra2.2.0 to < 4.0.29 · 4.1.0 to < 4.1.20 · 5.0.0-M1 to < 5.0.0-M12 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- eclipse · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Eclipse Foundation | Eclipse Mojarra | 2.2.0 to < 4.0.29 (affected · semver)4.1.0 to < 4.1.20 (affected · semver)5.0.0-M1 to < 5.0.0-M12 (affected · semver)Default: unaffected | eclipse · cna |
Weaknesses
1- CWE-79 CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')
References
2Provider assertions
2eclipse · cna
Reflected XSS via client window id in URL client window mode
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 631138ac9a2fb0c36370c5387d1a725d5a38db580bc14f902057920731c0a195
- Ingested
- 04 Nov 2026, 20:17:07 UTC
- Source record
- Official CVE record