Language: JavaScript
Label: vulnerable
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(){E=!1;c({code:App.ERROR_TIMEOUT})}),this.ui.timeout),A=this.client.filesGetMetadata({path:"/"+e.path.substring(1),include_deleted:!1});A.then(mxUtils.bind(this,function(K){}));A["catch"](function(K){window.clearTimeout(D);E&&null!=K&&409==K.status&&(E=!1,c({message:mxResources.get("fileNotFound")}))});A=this.client.filesDownload(e);A.then(mxUtils.bind(this,function(K){window.clearTimeout(D);if(E){E=!1;try{var H=new FileReader;H.onload=mxUtils.bind(this,function(d){f(H.result,K)});k?H.readAsDataURL(K.fileBlob):