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(d){return mxResources.get(d)};EditorUi.prototype.pickFolder=function(d,f,k){f(null)};EditorUi.prototype.exportSvg=function(d,f,k,u,z,B,F,K,N,H,ka,ea,ca,ja){if(this.spinner.spin(document.body,mxResources.get("export")))try{var ma=this.editor.graph.isSelectionEmpty();k=null!=k?k:ma;var Z=f?null:this.editor.graph.background;Z==mxConstants.NONE&&(Z=null);null==Z&&0==f&&(Z=ka?this.editor.graph.defaultPageBackgroundColor:"#ffffff");var S=this.editor.graph.getSvg(Z,d,F,K,null,k,null,null,"blank"==