Language: JavaScript
Label: vulnerable
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:
aa=Array(Y.length);for(var ca=0;ca<Y.length;ca++)aa[ca]=String.fromCharCode(Y[ca]);aa=aa.join("")}W=null!=W?W:"data:image/png;base64,";aa=W+Editor.base64Encode(aa)}z(aa)}}else null!=J&&(0==Y.getStatus()?J({message:mxResources.get("accessDenied")},Y):404==Y.getStatus()?J({message:mxResources.get("fileNotFound"),code:Y.getStatus()},Y):J({message:this.getErrorMessage(Y)},Y))}),function(Y){null!=J&&J({message:mxResources.get("error")+" "+Y.getStatus()})},X,this.timeout,function(){T&&null!=J&&J({code:App.ERROR_TIMEOUT,
retry:Z})},Q)});Z()}catch(Y){null!=J&&J(Y)}};Editor.prototype.getErrorMessage=function(m){var z=mxResources.get("error")+" "+m.getStatus();try{var J=m.getText(),O=JSON.parse(J);null!=O&&null!=O.error&&null!=O.error.message&&(z=O.error.message+" ("+z+")")}catch(T){}return z};Editor.prototype.absoluteCssFonts=function(m){var z=null;if(null!=m){var J=m.split("url(");if(0<J.length){z=[J[0]];m=window.location.pathname;var O=null!=m?m.lastIndexOf("/"):-1;0<=O&&(m=m.substring(0,O+1));O=document.getElementsByTagName("base");