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:
arguments)):X=PROXY_URL+"?url="+encodeURIComponent(X)}return X};return l};Editor.createSvgDataUri=function(l){return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(l)))};Editor.prototype.convertImageToDataUri=function(l,A){try{var N=!0,X=window.setTimeout(mxUtils.bind(this,function(){N=!1;A(Editor.svgBrokenImage.src)}),this.timeout);if(/(\.svg)$/i.test(l))mxUtils.get(l,mxUtils.bind(this,function(Z){window.clearTimeout(X);N&&A(Editor.createSvgDataUri(Z.getText()))}),function(){window.clearTimeout(X);
N&&A(Editor.svgBrokenImage.src)});else{var U=new Image;this.crossOriginImages&&(U.crossOrigin="anonymous");U.onload=function(){window.clearTimeout(X);if(N)try{var Z=document.createElement("canvas"),ba=Z.getContext("2d");Z.height=U.height;Z.width=U.width;ba.drawImage(U,0,0);A(Z.toDataURL())}catch(ia){A(Editor.svgBrokenImage.src)}};U.onerror=function(){window.clearTimeout(X);N&&A(Editor.svgBrokenImage.src)};U.src=l}}catch(Z){A(Editor.svgBrokenImage.src)}};Editor.prototype.convertImages=function(l,A,