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(){return this.user};DriveClient.prototype.getUsersList=function(){var f=[],c=JSON.parse(this.getPersistentToken(!0)),k=null;if(null!=c){null!=c.current&&(k=c.current.userId,f.push(c[k].user),f[0].isCurrent=!0);for(var l in c)"current"!=l&&l!=k&&f.push(c[l].user)}return f};DriveClient.prototype.logout=function(){this.ui.editor.loadUrl(this.redirectUri+"?doLogout=1&userId="+this.userId+"&state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.host));this.clearPersistentToken();
this.setUser(null);b=null};DriveClient.prototype.execute=function(f){var c=mxUtils.bind(this,function(k){this.ui.showAuthDialog(this,!0,mxUtils.bind(this,function(l,u){this.authorize(!1,mxUtils.bind(this,function(){null!=u&&u();f()}),mxUtils.bind(this,function(x){var E=null!=x.message?x.message:mxResources.get("cannotLogin");null!=x&&null!=x.error&&403==x.error.code&&null!=x.error.data&&0<x.error.data.length&&"domainPolicy"==x.error.data[0].reason&&(E=x.error.message);this.logout();this.ui.showError(mxResources.get("error"),