Skip to main content

Eclipse Mojarra EUVDEUVD-2026-140053

| CVE-2026-139819 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-12-01 eclipse GHSA-pxjv-xmm7-jwxr
6.1
CVSS 3.1 · Vendor: eclipse
View

Attack ChainAIDerived

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

  1. Access
    Craft URL with </script> payload in f:param input
  2. Delivery
    Deliver link to victim user
  3. Exploit
    Victim loads page, literal breaks out of script element
  4. Execution
    Injected JavaScript executes in victim browser
  5. Impact
    Steal session/perform actions as victim

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 render an f:param value inside h:commandScript and to bind that value to reflected request input; the fix commit confirms the original escaping handled only single-quote and backslash, letting a '</script>' sequence terminate the script element and inject HTML/JavaScript. A victim must load the attacker-crafted request (UI:R), which limits exploitation to social-engineering delivery rather than silent mass exploitation. A separate, lower-impact path exists for f:param values of h:commandLink and h:commandButton only when CSP nonce mode is enabled, and there the Content-Security-Policy constrains the result to HTML injection rather than script execution. Applications that do not use these components with reflected input are not exposed.

Impact

This is a genuine but moderate-priority issue, not a top-tier emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, base 6.1) describes a classic reflected XSS: network-reachable, low complexity, no privileges, but requiring user interaction (UI:R) and yielding only low confidentiality and integrity impact with a scope change into the victim's browser. The decision signals reinforce a measured posture rather than crisis response: SSVC shows Exploitation=none, Automatable=no, Technical Impact=partial, and the vuln.today priority label is 'this_month' (not act_now/emergency). No KEV field is present, so there is no confirmed active exploitation, and no EPSS score was supplied to gauge exploitation probability - that signal is missing. The references are vendor advisory and fix commits, not weaponized exploit code, so there is no public exploit identified at time of analysis. The net picture is a real, patchable web-layer flaw that depends on both a specific component usage pattern and victim interaction, warranting scheduled remediation rather than emergency response. Note one nuance to verify: exploitability is conditional on the application binding the f:param value to request input and using h:commandScript (or, in CSP nonce mode, h:commandLink/h:commandButton where CSP downgrades impact to HTML injection only) - confirm your own deployment actually renders these components from reflected input.

Exploit ScenarioDerived

An attacker crafts a malicious link carrying a parameter whose value contains '</script>' plus attacker-controlled HTML/JavaScript, targeting a Mojarra application that renders that value as an f:param of h:commandScript and binds it to request input. When a victim follows the link, the string literal breaks out of the script element and the injected script executes in the victim's browser session (reflected XSS). No public exploit code was identified in the provided sources; exploitation requires the victim to trigger the crafted request (UI:R).

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

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

Alert me

AnalysisAIv1 – Dec 02, 2026

Reflected cross-site scripting in Eclipse Mojarra (2.3.0 through 4.0.30, 4.1.0 through 4.1.21, and 5.0.0-M1 through 5.0.0-M13) occurs because the JavaScript string literal generated for an f:param value of h:commandScript escapes only single quotes and backslashes, so a value containing a closing script sequence terminates the surrounding script element and injects attacker-supplied HTML and JavaScript. The bug is remotely reachable without authentication but requires user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, 6.1), since a victim must load the crafted request; applications are only exposed if they bind such f:param values to reflected request input. CISA SSVC records no known exploitation and no public exploit code identified at time of analysis, and an upstream fix is available in Eclipse Mojarra 4.0.31, 4.1.22 and 5.0.0-M14.

RemediationAI

Upgrade to a fixed Eclipse Mojarra release: 4.0.31 for the 2.3.0/4.0.x line, 4.1.22 for the 4.1.x line, or 5.0.0-M14 for the 5.0.0 milestone line. The upstream fixes are commits 707e9e5a3fe6a68cf4ddecc81dd60758ac04ab54, 5780c3a3621c43bf3a055a2c1a0a42de1d6fb762 and 1739f6ac368e66672f8d666673c3e9fbd9f513ad, referenced from the Eclipse advisory at https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1575. Where an immediate upgrade is not possible, the decisive exposure factor is data binding rather than server configuration: do not bind f:param values of h:commandScript to request-controlled input, and keep such parameters static or sourced from a server-side allow-list, accepting that this restricts any dynamic behavior values those components were designed to carry. For h:commandLink and h:commandButton the residual risk exists only when CSP nonce mode is enabled, and there the Content-Security-Policy confines the outcome to HTML injection rather than script execution, so enabling nonce mode and a restrictive script-src is a partial containment measure and not a substitute for the patched renderkit.

Affected VersionsENISA

Eclipse Mojarra 4.1.0 <4.1.22
Eclipse Mojarra 2.3.0 <4.0.31
Eclipse Mojarra 5.0.0-M1 <5.0.0-M14

Affected Packages

euvd eclipse_mojarra fix: 4.0.31, 4.1.22, 5.0.0-M14

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

Eclipse Mojarra is the reference implementation of Jakarta Faces (JSF), and the flaw sits in the renderkit utility that serializes component behavior into inline scripts. com.sun.faces.renderkit.RenderKitUtils.appendQuotedValue builds a single-quoted JavaScript string literal that is later emitted inside a script element for the JavaScript chained by h:commandScript / f:param, and the pre-fix code escaped only ' and \ (the two characters that would break out of the enclosing single quotes). It did not account for the HTML parsing context: a browser terminates a script element at the literal byte sequence that closes it, so a value containing that sequence escapes the script block even though the JavaScript literal itself stays syntactically valid. This is CWE-79 (improper neutralization of input during web page generation), specifically an output-encoding context mismatch between JavaScript string escaping and HTML script-element escaping. The upstream commit 707e9e5a3fe6a68cf4ddecc81dd60758ac04ab54 rewrites the routine to route control characters, the angle brackets, ampersand and the Unicode line/paragraph separators through \uXXXX escapes while leaving non-ASCII and surrogate pairs untouched, and adds RenderKitUtilsQuotedValueTest covering plain values, non-ASCII, quotes/backslashes, line terminators and control characters. Two companion commits (5780c3a3621c43bf3a055a2c1a0a42de1d6fb762 and 1739f6ac368e66672f8d666673c3e9fbd9f513ad) cover the h:commandLink / h:commandButton paths that are only relevant when CSP nonce mode is enabled.

Know when Eclipse Mojarra gets its next vulnerability

  • 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-reachable with no auth (PR:N) but requiring the victim to trigger the request (UI:R), executing in the browser (S:C) with limited C/I impact 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:N/VI:N/VA:N/SC:L/SI:L/SA:N

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
Dec 01, 2026 - 12:02 EUVD

DescriptionCVE.org

In Eclipse Mojarra versions 2.3.0 to 4.0.30, 4.1.0 to 4.1.21 and 5.0.0-M1 to 5.0.0-M13, the JavaScript string literal which is rendered for an f:param value of h:commandScript escapes only single quote and backslash. The literal is written into a script element, so a value containing </script> ends the element and injects HTML and JavaScript into the page. When the application binds the value to request input, this is a reflected cross-site scripting vulnerability. When the CSP nonce mode is enabled, the same applies to f:param values of h:commandLink and h:commandButton, though the Content-Security-Policy then limits the impact to HTML injection.

Threat Intelligence Overview

EPSS Score
0.4%
Top 61% exploitable
Prevalence
Medium
Mojarra is the Jakarta Faces reference implementation, common in Java EE apps but not universal
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.4%
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.

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