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:
k.getSelectedItem();if(null!=x)if(f&&"object"==typeof x.folder)e({value:[x]});else{if(!x.folder&&this.ui.spinner.spin(document.body,mxResources.get("loading"))){var E=OneDriveFile.prototype.getIdOf(x);this.executeRequest(this.getItemURL(E),mxUtils.bind(this,function(D){this.ui.spinner.stop();200<=D.getStatus()&&299>=D.getStatus()?(D=JSON.parse(D.getText()),e(E,{value:[D]})):this.ui.handleError({code:D.getStatus()})}),mxUtils.bind(this,function(D){this.ui.spinner.stop();this.ui.handleError(D)}))}}else return mxResources.get("invalidSel",