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")+
" "+Z.getStatus()})},X,this.timeout,function(){U&&null!=K&&K({code:App.ERROR_TIMEOUT,retry:Y})},V)});Y()}catch(Z){null!=K&&K(Z)}};Editor.prototype.absoluteCssFonts=function(m){var B=null;if(null!=m){var K=m.split("url(");if(0<K.length){B=[K[0]];m=window.location.pathname;var R=null!=m?m.lastIndexOf("/"):-1;0<=R&&(m=m.substring(0,R+1));R=document.getElementsByTagName("base");var U=null;null!=R&&0<R.length&&(U=R[0].getAttribute("href"));for(var W=1;W<K.length;W++)if(R=K[W].indexOf(")"),0<R){var Q=Editor.trimCssUrl(K[W].substring(0,