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:
this.div.style.left=Math.max(0,parseInt(this.div.style.left)-c+140)+"px");this.fit()};mxEvent.addListener(this.formatWindow.window.title,"dblclick",mxUtils.bind(this,function(e){mxEvent.getSource(e)==this.formatWindow.window.title&&this.formatWindow.window.toggleMinimized()}))}};var U=EditorUi.prototype.init;EditorUi.prototype.init=function(){function J(T,X,Z){var Y=t.menus.get(T),ba=B.addMenu(mxResources.get(T),mxUtils.bind(this,function(){Y.funct.apply(this,arguments)}),G);ba.className="geMenuItem";
ba.style.display="inline-block";ba.style.boxSizing="border-box";ba.style.top="6px";ba.style.marginRight="6px";ba.style.height="30px";ba.style.paddingTop="6px";ba.style.paddingBottom="6px";ba.style.cursor="pointer";ba.setAttribute("title",mxResources.get(T));t.menus.menuCreated(Y,ba,"geMenuItem");null!=Z?(ba.style.backgroundImage="url("+Z+")",ba.style.backgroundPosition="center center",ba.style.backgroundRepeat="no-repeat",ba.style.backgroundSize="24px 24px",ba.style.width="34px",ba.innerText=""):
X||(ba.style.backgroundImage="url("+mxWindow.prototype.normalizeImage+")",ba.style.backgroundPosition="right 6px center",ba.style.backgroundRepeat="no-repeat",ba.style.paddingRight="22px");return ba}function c(T,X,Z,Y,ba,fa){var ca=document.createElement("a");ca.className="geMenuItem";ca.style.display="inline-block";ca.style.boxSizing="border-box";ca.style.height="30px";ca.style.padding="6px";ca.style.position="relative";ca.style.verticalAlign="top";ca.style.top="0px";null!=t.statusContainer?C.insertBefore(ca,