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:
N&&B(Editor.createSvgDataUri(aa.getText()))}),function(){window.clearTimeout(Z);N&&B(Editor.svgBrokenImage.src)});else{var U=new Image;this.crossOriginImages&&(U.crossOrigin="anonymous");U.onload=function(){window.clearTimeout(Z);if(N)try{var aa=document.createElement("canvas"),Y=aa.getContext("2d");aa.height=U.height;aa.width=U.width;Y.drawImage(U,0,0);B(aa.toDataURL())}catch(ka){B(Editor.svgBrokenImage.src)}};U.onerror=function(){window.clearTimeout(Z);N&&B(Editor.svgBrokenImage.src)};U.src=l}}catch(aa){B(Editor.svgBrokenImage.src)}};