Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
u,k);null!=f&&(u.style.backgroundImage="url("+f+")",u.style.backgroundPosition="center center",u.style.backgroundRepeat="no-repeat",u.style.backgroundSize="100% 100%",u.style.width="24px",u.innerText="");return u};EditorUi.prototype.createToolbarButton=function(d,f,k,u){u=null!=u?u:24;var z=document.createElement("a");z.className="geToolbarButton geAdaptiveAsset";z.setAttribute("title",f);z.style.backgroundImage="url("+d+")";z.style.backgroundPosition="center center";z.style.backgroundRepeat="no-repeat";
z.style.backgroundSize="100% 100%";z.style.display="inline-block";z.style.cursor="pointer";z.style.marginLeft="6px";z.style.width=u+"px";z.style.height=u+"px";null!=k&&(mxEvent.addListener(z,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(B){B.preventDefault()})),mxEvent.addListener(z,"click",function(B){"disabled"!=z.getAttribute("disabled")&&k(B);mxEvent.consume(B)}));return z};EditorUi.prototype.createMenuItem=function(d,f,k){var u=this.actions.get(d),z=null!=u?u.funct: