Language: JavaScript
Label: vulnerable
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:
typeof window.mxUtilsBinaryToArray){Z=mxUtilsBinaryToArray(Z.request.responseBody).toArray();ca=Array(Z.length);for(var da=0;da<Z.length;da++)ca[da]=String.fromCharCode(Z[da]);ca=ca.join("")}W=null!=W?W:"data:image/png;base64,";ca=W+Editor.base64Encode(ca)}B(ca)}}else null!=K&&(0==Z.getStatus()?K({message:mxResources.get("accessDenied")},Z):404==Z.getStatus()?K({code:Z.getStatus()},Z):K({message:mxResources.get("error")+" "+Z.getStatus()},Z))}),function(Z){null!=K&&K({message:mxResources.get("error")+