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