Skip to main content

Eclipse Mojarra EUVDEUVD-2026-116938

| CVE-2026-120421 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-04 emo@eclipse.org GHSA-4hw7-pfg5-v529
6.1
CVSS 3.1 · Vendor: eclipse
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Find Mojarra app with URL window mode
  2. Delivery
    Craft malicious jfwid parameter in link
  3. Exploit
    Lure victim to click crafted URL
  4. Execution
    Payload breaks JS string literal in h:button
  5. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Eclipse Mojarra 5.0.0-M1 <5.0.0-M12
Eclipse Mojarra 2.2.0 <4.0.29
Eclipse Mojarra 4.1.0 <4.1.20

Affected Packages

euvd eclipse_mojarra fix: 4.0.29, 4.1.20, 5.0.0-M12

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

Vendor (eclipse) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 6.1 MEDIUM

Primary rating from Vendor (eclipse).

CVSS VectorVendor: eclipse

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Nov 04, 2026 - 16:02 EUVD

DescriptionCVE.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

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
Jakarta Faces reference implementation, common in enterprise Java web apps
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy