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:
c,x):l(x)});null==b?this.authenticate(function(){u(!0)},c):u(!1)};DropboxClient.prototype.checkExists=function(e,f,c){var k=mxUtils.bind(this,function(){return this.client.filesGetMetadata({path:"/"+e.toLowerCase(),include_deleted:!1})});this.executePromise(k,mxUtils.bind(this,function(l){c?f(!1,!0,l):this.ui.confirm(mxResources.get("replaceIt",[e]),function(){f(!0,!0,l)},function(){f(!1,!0,l)})}),function(l){f(!0,!1)})};DropboxClient.prototype.renameFile=function(e,f,c,k){if(/[\\\/:\?\*"\|]/.test(f))k({message:mxResources.get("dropboxCharsNotAllowed")});