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