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:
l);B[0].parentNode.appendChild(aa)}}};Editor.prototype.csvToArray=function(l){if(0<l.length){var B="",N=[""],Z=0,U=!0,aa;l=$jscomp.makeIterator(l);for(aa=l.next();!aa.done;aa=l.next())aa=aa.value,'"'===aa?(U&&aa===B&&(N[Z]+=aa),U=!U):","===aa&&U?aa=N[++Z]="":N[Z]+=aa,B=aa;return N}return[]};Editor.prototype.getProxiedUrl=function(l){if((/test\.draw\.io$/.test(window.location.hostname)||/app\.diagrams\.net$/.test(window.location.hostname))&&!this.isCorsEnabledForUrl(l)){var B=/(\.v(dx|sdx?))($|\?)/i.test(l)||
/(\.vs(x|sx?))($|\?)/i.test(l);B=/\.png$/i.test(l)||/\.pdf$/i.test(l)||B;var N="t="+(new Date).getTime();l=PROXY_URL+"?url="+encodeURIComponent(l)+"&"+N+(B?"&base64=1":"")}return l};Editor.prototype.isCorsEnabledForUrl=function(l){if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||l.substring(0,window.location.origin.length)==window.location.origin)return!0;null!=urlParams.cors&&null==this.corsRegExp&&(this.corsRegExp=new RegExp(decodeURIComponent(urlParams.cors)));return null!=this.corsRegExp&&this.corsRegExp.test(l)||