CVE-2026-120421
Last modified
CVE-2026-120421 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Eclipse Foundation | Eclipse Mojarra | >= 2.2.0, < 4.0.29; >= 4.1.0, < 4.1.20; >= 5.0.0-M1, < 5.0.0-M12 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-120421?
How severe is CVE-2026-120421?
How do I fix CVE-2026-120421?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12037The Asset CleanUp: Page Speed Booster plugin for WordPress i…5.5
- CVE-2026-12038Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-12039Docker Sandboxes (sbx) enforces an HTTP/S-only egress allowl…5.7
- CVE-2026-12041The Chatra Live Chat + ChatBot + Cart Saver plugin for WordP…4.4
- CVE-2026-120416A security vulnerability has been detected in AndyFactory ne…5.3
- CVE-2026-12042The WP2Social Auto Publish plugin for WordPress is vulnerabl…4.4
- CVE-2026-120422Sogou Input Method for Windows contains a vulnerability in t…8.9
- CVE-2026-120425Chatify before 1.6.4 contains an authorization bypass vulner…6.5
- CVE-2026-120426OpenCSG CSGHub through v2.6.0-ce contains an authorization b…7.5
- CVE-2026-120427MrDoc through 1.1.1 contains a missing authorization vulnera…4.3
- CVE-2026-120428PandaWiki 3.65.0 through 3.87.5 contains a stored cross-site…6.1
- CVE-2026-120429Camaleon CMS before 2.9.2 contains a missing authorization v…7.1
Are you affected by CVE-2026-120421?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
