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:
A)}),null,null,function(x){f?e({value:[x]}):e(OneDriveFile.prototype.getIdOf(x))},mxUtils.bind(this,function(x){this.ui.showError(mxResources.get("error"),x)}),f,null,null,null,null,c)})};OneDriveClient.prototype.pickFolder=function(e,f){var c=mxUtils.bind(this,function(l){this.ui.showError(mxResources.get("error"),l&&l.message?l.message:l)}),k=mxUtils.bind(this,function(l){var u=this.inlinePicker?this.createInlinePicker(e,!0):mxUtils.bind(this,function(){OneDrive.save({clientId:this.clientId,action:"query",
openInNewWindow:!0,advanced:{endpointHint:mxClient.IS_IE11?null:this.endpointHint,redirectUri:this.pickerRedirectUri,queryParameters:"select=id,name,parentReference",accessToken:b,isConsumerAccount:!1},success:mxUtils.bind(this,function(x){e(x);mxClient.IS_IE11&&(b=x.accessToken)}),cancel:mxUtils.bind(this,function(){}),error:c})});l?u():this.ui.confirm(mxResources.get("useRootFolder"),mxUtils.bind(this,function(){e({value:[{id:"root",name:"root",parentReference:{driveId:"me"}}]})}),u,mxResources.get("yes"),
mxResources.get("noPickFolder")+"...",!0);null==this.user&&this.updateUser(this.emptyFn,this.emptyFn,!0)});null==b||6E4>this.tokenExpiresOn-Date.now()?this.authenticate(mxUtils.bind(this,function(){k(this.inlinePicker&&f)}),c):k(f)};OneDriveClient.prototype.pickFile=function(e,f){e=null!=e?e:mxUtils.bind(this,function(l){this.ui.loadFile("W"+encodeURIComponent(l))});var c=mxUtils.bind(this,function(l){this.ui.showError(mxResources.get("error"),l&&l.message?l.message:l)}),k=this.inlinePicker?this.createInlinePicker(e,