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.editor.setStatus(""),c?e.reloadFile(mxUtils.bind(this,function(){e.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(k){e.handleFileError(k,!0)})):e.synchronizeFile(mxUtils.bind(this,function(){e.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(k){e.handleFileError(k,!0)}))))};EditorUi.prototype.getFileData=function(c,e,k,n,p,t,y,C,G,B,V){p=null!=p?p:!0;t=null!=t?t:!1;B=null!=B?B:!Editor.defaultCompressed;var R=this.editor.graph;if(e||!c&&null!=
G&&/(\.svg)$/i.test(G.getTitle())){var O=null!=R.themes&&"darkTheme"==R.defaultThemeName;if(O||null!=this.pages&&this.currentPage!=this.pages[0]){var P=R.getGlobalVariable;R=this.createTemporaryGraph(O?R.getDefaultStylesheet():R.getStylesheet());R.setBackgroundImage=this.editor.graph.setBackgroundImage;R.background=this.editor.graph.background;var N=null!=this.pages?this.pages[0]:null;null==N||this.currentPage==N?R.setBackgroundImage(this.editor.graph.backgroundImage):null!=N.viewState&&null!=N.viewState&&
R.setBackgroundImage(N.viewState.backgroundImage);R.getGlobalVariable=function(H){return"page"==H&&null!=N?N.getName():"pagenumber"==H?1:P.apply(this,arguments)};document.body.appendChild(R.container);null!=N&&R.model.setRoot(N.root)}}y=null!=y?y:this.getXmlFileData(p,t,B,V);G=null!=G?G:this.getCurrentFile();c=this.createFileData(y,R,G,window.location.href,c,e,k,n,p,C,B);R!=this.editor.graph&&R.container.parentNode.removeChild(R.container);return c};EditorUi.prototype.getHtml=function(c,e,k,n,p,t){t=