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