Language: JavaScript
Label: safe
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:
"chrome-extension://"==Z.substring(0,19)||mxClient.IS_CHROMEAPP||(Z=B.apply(this,arguments)):Z=PROXY_URL+"?url="+encodeURIComponent(Z)}return Z};return l};Editor.createSvgDataUri=function(l){return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(l)))};Editor.prototype.convertImageToDataUri=function(l,B){try{var N=!0,Z=window.setTimeout(mxUtils.bind(this,function(){N=!1;B(Editor.svgBrokenImage.src)}),this.timeout);if(/(\.svg)$/i.test(l))mxUtils.get(l,mxUtils.bind(this,function(aa){window.clearTimeout(Z);