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:
function(N){this.spinner.stop();try{this.saveCanvas(N,p?this.getFileData(!0,null,null,null,k,C):null,G,null==this.pages||0==this.pages.length,V)}catch(H){this.handleError(H)}}),null,this.thumbImageCache,null,mxUtils.bind(this,function(N){this.spinner.stop();this.handleError(N)}),null,k,c||1,e,n,null,null,t,y,B,R,O)}catch(N){this.spinner.stop(),this.handleError(N)}}};EditorUi.prototype.isCorsEnabledForUrl=function(c){return this.editor.isCorsEnabledForUrl(c)};EditorUi.prototype.importXml=function(c,