Language: JavaScript
Label: safe
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:
var StorageDialog=function(b,e,f){function c(L,H,d,g,n,q){function t(){mxEvent.addListener(x,"click",null!=q?q:function(){d==App.MODE_GOOGLE&&b.spinner.spin(document.body,mxResources.get("authorizing"))?b.drive.checkToken(mxUtils.bind(this,function(){b.spinner.stop();b.setMode(d,!0);e()})):d==App.MODE_ONEDRIVE&&b.spinner.spin(document.body,mxResources.get("authorizing"))?b.oneDrive.checkToken(mxUtils.bind(this,function(){b.spinner.stop();b.setMode(d,!0);e()}),function(U){b.spinner.stop();b.handleError(U)}):
(b.setMode(d,!0),e())})}v++;++u>f&&(mxUtils.br(E),u=1);var x=document.createElement("a");x.style.overflow="hidden";x.style.display="inline-block";x.className="geBaseButton";x.style.boxSizing="border-box";x.style.fontSize="11px";x.style.position="relative";x.style.margin="4px";x.style.marginTop="8px";x.style.marginBottom="0px";x.style.padding="8px 10px 8px 10px";x.style.width="88px";x.style.height="100px";x.style.whiteSpace="nowrap";x.setAttribute("title",H);var B=document.createElement("div");B.style.textOverflow=