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:
X+1));X=document.getElementsByTagName("base");var U=null;null!=X&&0<X.length&&(U=X[0].getAttribute("href"));for(var Z=1;Z<N.length;Z++)if(X=N[Z].indexOf(")"),0<X){var ba=Editor.trimCssUrl(N[Z].substring(0,X));this.graph.isRelativeUrl(ba)&&(ba=null!=U?U+ba:window.location.protocol+"//"+window.location.hostname+("/"==ba.charAt(0)?"":l)+ba);A.push('url("'+ba+'"'+N[Z].substring(X))}else A.push(N[Z])}else A=[l]}return null!=A?A.join(""):null};Editor.prototype.mapFontUrl=function(l,A,N){/^https?:\/\//.test(A)&&
!this.isCorsEnabledForUrl(A)&&(A=PROXY_URL+"?url="+encodeURIComponent(A));N(l,A)};Editor.prototype.embedCssFonts=function(l,A){var N=l.split("url("),X=0;null==this.cachedFonts&&(this.cachedFonts={});var U=mxUtils.bind(this,function(){if(0==X){for(var qa=[N[0]],ra=1;ra<N.length;ra++){var pa=N[ra].indexOf(")");qa.push('url("');qa.push(this.cachedFonts[Editor.trimCssUrl(N[ra].substring(0,pa))]);qa.push('"'+N[ra].substring(pa))}A(qa.join(""))}});if(0<N.length){for(l=1;l<N.length;l++){var Z=N[l].indexOf(")"),