Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFind Mojarra app with URL window mode
-
DeliveryCraft malicious jfwid parameter in link
-
ExploitLure victim to click crafted URL
-
ExecutionPayload breaks JS string literal in h:button
-
ImpactScript runs in victim browser bypassing CSP
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the application to be deployed with URL client window mode enabled (jakarta.faces.CLIENT_WINDOW_MODE=url), which is non-default, AND the page to use h:button, which renders the attacker-controlled jfwid / jakarta.faces.ClientWindow parameter into a JavaScript string literal without URL-encoding. The victim must then click an attacker-crafted link (UI:R). The CSP-bypass behavior additionally requires com.sun.faces.enableCspNonce=true, under which the injected script runs on page load inside the nonce'd script element. Limiting factors: the non-default client-window configuration, the dependency on h:button output, and the required user interaction all constrain real-world exploitability well below what the network attack vector alone implies. |
| Impact | The input assigns CVSS 6.1 (Medium) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - network-reachable, low complexity, no privileges, but requiring victim user interaction (UI:R), with a scope change (S:C) reflecting that injected script executes in the victim's browser rather than the server component. This is a classic reflected XSS risk profile: real but gated. Crucially, exploitation is not against default settings - it requires the application to run with URL client window mode (jakarta.faces.CLIENT_WINDOW_MODE=url), which is non-default, plus use of an h:button that renders the client window id into a JavaScript string literal. Decision label is 'this_month' (not act_now/emergency), consistent with a moderate, non-urgent priority. There is no CISA KEV entry, so it is not confirmed actively exploited; EPSS exploitation probability is not provided in the input and cannot be cited; and no public exploit identified at time of analysis (the two references are Eclipse security tracker work items, not exploit code). Net: a legitimate but configuration-dependent reflected XSS, elevated slightly because the CSP-nonce path (com.sun.faces.enableCspNonce=true) lets the injected script bypass Content Security Policy - but overall a plan-and-patch item, not an emergency, given the non-default prerequisites and absence of exploitation signals. |
| Exploit ScenarioDerived | An attacker crafts a URL to a Mojarra-based application that has URL client window mode enabled, embedding a malicious value in the jfwid or jakarta.faces.ClientWindow parameter that breaks out of the JavaScript string literal rendered by an h:button. The attacker lures a victim into clicking the link (UI:R); the unescaped parameter is reflected into the page and the injected script executes in the victim's browser, and where com.sun.faces.enableCspNonce=true is set it runs inside the nonce'd script element on page load, bypassing CSP. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Reflected cross-site scripting in Eclipse Mojarra (the Jakarta Faces / JSF reference implementation) allows an attacker-crafted link to execute script in a victim's browser when the application runs with URL client window mode and renders an h:button. Affected builds are 2.2.0 through 4.0.28, 4.1.0 through 4.1.19, and 5.0.0-M1 through 5.0.0-M11. The jfwid / jakarta.faces.ClientWindow request parameter is appended to generated URLs without URL-encoding and is emitted inside a JavaScript string literal, and with com.sun.faces.enableCspNonce=true the injected script executes on page load within the nonce'd script element, defeating CSP; exploitation requires the non-default jakarta.faces.CLIENT_WINDOW_MODE=url setting, h:button output, and victim interaction (UI:R). No public exploit identified at time of analysis, and CISA KEV status does not apply.
RemediationAI
The supplied intelligence does not include a vendor-released patched version, so the exact fix release must be confirmed from the Eclipse advisories at https://gitlab.eclipse.org/security/cve-assignment/-/work_items/536 and https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1332 before upgrading; note that the listed upper bounds (4.0.28, 4.1.19, 5.0.0-M11) are the affected ranges, not confirmed fix versions. Where an immediate upgrade is not possible, the most effective compensating control follows directly from the preconditions: remove jakarta.faces.CLIENT_WINDOW_MODE=url from the application's context parameters and run with the default client window mode, accepting that URL-based client-window bookmarking and deep-linking behavior changes. If URL mode must be retained, avoid rendering the window id through h:button, because that renderer emits the value into a JavaScript string literal; substitute an h:link or a custom renderer that URL-encodes the parameter, at the cost of development effort and retesting of navigation flows. Do not treat com.sun.faces.enableCspNonce=true as a mitigation, since the nonce script path is explicitly the bypass vector, and disabling it weakens CSP coverage for the application's other scripts. As a defense-in-depth filter, reject or normalize jfwid / jakarta.faces.ClientWindow values that do not match the expected identifier format before the Faces lifecycle processes them, with the trade-off that legitimate bookmark URLs containing unusual window ids may be rejected.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Jakarta Faces supports several client-window modes; in URL mode the client window identifier is carried as the jfwid (or jakarta.faces.ClientWindow) request parameter and is propagated into generated links and form actions. The defect is CWE-79 (improper neutralization of input during web page generation): Mojarra appends that request-supplied window id to generated URLs without URL-encoding, and the h:button renderer places the resulting URL into a JavaScript string literal, so metacharacters from the parameter break out of the literal and become executable script in the response. Because the value is returned in the immediate response to the request that supplied it, this is reflected rather than stored XSS, with scope change (S:C) reflecting execution in the victim's browser context rather than the server component. The flaw is compounded when com.sun.faces.enableCspNonce=true, since the injected script is then delivered inside the nonce-bearing script element and runs on page load, so a nonce-based Content Security Policy does not block it. No CPE strings were provided in the supplied intelligence; affected artifacts are identified by version range from the description and the two Eclipse GitLab advisories.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Reflected XSS: network-delivered link, no attacker privileges (PR:N) and victim click (UI:R); script executing in the browser crosses the component boundary (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (eclipse).
CVSS VectorVendor: eclipse
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-116938
GHSA-4hw7-pfg5-v529
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB