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:
function(d){f(I.result,N)});k?I.readAsDataURL(N.fileBlob):I.readAsText(N.fileBlob)}catch(d){c(d)}}}));z["catch"](mxUtils.bind(this,function(N){window.clearTimeout(D);E&&(E=!1,null==N||500!=N.status&&400!=N.status&&401!=N.status?c({message:mxResources.get("error")+" "+N.status}):(this.client.setAccessToken(null),this.setUser(null),b=null,y?c({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,function(){this.authenticate(function(){x(!0)},c)})}):this.authenticate(function(){l(!0)},c)))}))}),