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:
e.parentNode&&e.parentNode.removeChild(e)}))};var G=!1;EditorUi.prototype.initFormatWindow=function(){if(!G&&null!=this.formatWindow){G=!0;var J=this.formatWindow.window.toggleMinimized,c=240;this.formatWindow.window.toggleMinimized=function(){J.apply(this,arguments);this.minimized?(c=parseInt(this.div.style.width),this.div.style.width="140px",this.table.style.width="140px",this.div.style.left=parseInt(this.div.style.left)+c-140+"px"):(this.div.style.width=c+"px",this.table.style.width=this.div.style.width,
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";