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)-d+140)+"px");this.fit()};mxEvent.addListener(this.formatWindow.window.title,"dblclick",mxUtils.bind(this,function(f){mxEvent.getSource(f)==this.formatWindow.window.title&&this.formatWindow.window.toggleMinimized()}))}};var R=EditorUi.prototype.init;EditorUi.prototype.init=function(){function W(ia,qa,ra){var pa=B.menus.get(ia),xa=H.addMenu(mxResources.get(ia),mxUtils.bind(this,function(){pa.funct.apply(this,arguments)}),N);xa.className="geMenuItem";
xa.style.display="inline-block";xa.style.boxSizing="border-box";xa.style.top="6px";xa.style.marginRight="6px";xa.style.height="30px";xa.style.paddingTop="6px";xa.style.paddingBottom="6px";xa.style.cursor="pointer";xa.setAttribute("title",mxResources.get(ia));B.menus.menuCreated(pa,xa,"geMenuItem");null!=ra?(xa.style.backgroundImage="url("+ra+")",xa.style.backgroundPosition="center center",xa.style.backgroundRepeat="no-repeat",xa.style.backgroundSize="24px 24px",xa.style.width="34px",xa.innerText=
""):qa||(xa.style.backgroundImage="url("+mxWindow.prototype.normalizeImage+")",xa.style.backgroundPosition="right 6px center",xa.style.backgroundRepeat="no-repeat",xa.style.paddingRight="22px");return xa}function d(ia,qa,ra,pa,xa,Ca){var Aa=document.createElement("a");Aa.className="geMenuItem";Aa.style.display="inline-block";Aa.style.boxSizing="border-box";Aa.style.height="30px";Aa.style.padding="6px";Aa.style.position="relative";Aa.style.verticalAlign="top";Aa.style.top="0px";null!=B.statusContainer?