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);var ba=mxUtils.bind(this,function(ia,qa){null!=this.graph.container&&this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)});this.graph.model.addListener(mxEvent.CHANGE,ba);this.graph.addListener(mxEvent.REFRESH,ba)};A=document.getElementsByTagName("script");if(null!=A&&0<A.length){var Z=document.createElement("script");Z.setAttribute("type","text/javascript");Z.setAttribute("src",l);A[0].parentNode.appendChild(Z)}}};Editor.prototype.csvToArray=function(l){if(0<l.length){var A=
"",N=[""],X=0,U=!0,Z;l=$jscomp.makeIterator(l);for(Z=l.next();!Z.done;Z=l.next())Z=Z.value,'"'===Z?(U&&Z===A&&(N[X]+=Z),U=!U):","===Z&&U?Z=N[++X]="":N[X]+=Z,A=Z;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 A=/(\.v(dx|sdx?))($|\?)/i.test(l)||/(\.vs(x|sx?))($|\?)/i.test(l);A=/\.png$/i.test(l)||/\.pdf$/i.test(l)||A;var N="t="+(new Date).getTime();