Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
A=mxUtils.bind(this,function(Q){f.saveLevel=9;if(Q||null==R)m(Q);else{var U=!0,W=null;try{W=window.setTimeout(mxUtils.bind(this,function(){U=!1;I({code:App.ERROR_TIMEOUT})}),3*this.ui.timeout)}catch(P){}this.executeRequest({url:"/files/"+f.getId()+"?supportsAllDrives=true&fields="+this.catchupFields},mxUtils.bind(this,function(P){window.clearTimeout(W);if(U){f.saveLevel=10;try{null!=P&&P.headRevisionId==u?("1"==urlParams.test&&R!=P.etag&&EditorUi.debug("DriveClient: Preflight Etag Update","from",
R,"to",P.etag,"rev",f.desc.headRevisionId,"response",[P],"file",[f]),R=P.etag,m(Q)):I({error:{code:412}},P)}catch(V){d(V)}}}),mxUtils.bind(this,function(P){window.clearTimeout(W);U&&(f.saveLevel=11,I(P))}))}});if(v&&null==T){f.saveLevel=8;var M=new Image;M.onload=mxUtils.bind(this,function(){try{var Q=this.thumbnailWidth/M.width,U=document.createElement("canvas");U.width=this.thumbnailWidth;U.height=Math.floor(M.height*Q);U.getContext("2d").drawImage(M,0,0,U.width,U.height);var W=U.toDataURL();W=