Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

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 S=EditorUi.prototype.init;EditorUi.prototype.init=function(){function J(W,X,Z){var Y=t.menus.get(W),ea=B.addMenu(mxResources.get(W),mxUtils.bind(this,function(){Y.funct.apply(this,arguments)}),I);ea.className="geMenuItem";
ea.style.display="inline-block";ea.style.boxSizing="border-box";ea.style.top="6px";ea.style.marginRight="6px";ea.style.height="30px";ea.style.paddingTop="6px";ea.style.paddingBottom="6px";ea.style.cursor="pointer";ea.setAttribute("title",mxResources.get(W));t.menus.menuCreated(Y,ea,"geMenuItem");null!=Z?(ea.style.backgroundImage="url("+Z+")",ea.style.backgroundPosition="center center",ea.style.backgroundRepeat="no-repeat",ea.style.backgroundSize="24px 24px",ea.style.width="34px",ea.innerText=""):
X||(ea.style.backgroundImage="url("+mxWindow.prototype.normalizeImage+")",ea.style.backgroundPosition="right 6px center",ea.style.backgroundRepeat="no-repeat",ea.style.paddingRight="22px");return ea}function c(W,X,Z,Y,ea,fa){var na=document.createElement("a");na.className="geMenuItem";na.style.display="inline-block";na.style.boxSizing="border-box";na.style.height="30px";na.style.padding="6px";na.style.position="relative";na.style.verticalAlign="top";na.style.top="0px";null!=t.statusContainer?C.insertBefore(na,