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:
"_blank")}};EditorUi.prototype.createEchoRequest=function(d,f,l,u,A,B){d="xml="+encodeURIComponent(d);return new mxXmlRequest(SAVE_URL,d+(null!=l?"&mime="+l:"")+(null!=A?"&format="+A:"")+(null!=B?"&base64="+B:"")+(null!=f?"&filename="+encodeURIComponent(f):"")+(u?"&binary=1":""))};EditorUi.prototype.base64ToBlob=function(d,f){f=f||"";d=atob(d);for(var l=d.length,u=Math.ceil(l/1024),A=Array(u),B=0;B<u;++B){for(var F=1024*B,M=Math.min(F+1024,l),O=Array(M-F),H=0;F<M;++H,++F)O[H]=d[F].charCodeAt(0);A[B]=