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:
if(null!=y&&0<y.length){var V=document.createElement("script");V.setAttribute("type","text/javascript");V.setAttribute("src",g);y[0].parentNode.appendChild(V)}}};Editor.prototype.csvToArray=function(g){if(0<g.length){var y="",H=[""],O=0,P=!0,V;g=$jscomp.makeIterator(g);for(V=g.next();!V.done;V=g.next())V=V.value,'"'===V?(P&&V===y&&(H[O]+=V),P=!P):","===V&&P?V=H[++O]="":H[O]+=V,y=V;return H}return[]};Editor.prototype.getProxiedUrl=function(g){if((/test\.draw\.io$/.test(window.location.hostname)||/app\.diagrams\.net$/.test(window.location.hostname))&&