Language: JavaScript
Label: safe
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:
var Q=null;null!=M&&0<M.length&&(Q=M[0].getAttribute("href"));for(var S=1;S<F.length;S++)if(M=F[S].indexOf(")"),0<M){var W=Editor.trimCssUrl(F[S].substring(0,M));this.graph.isRelativeUrl(W)&&(W=null!=Q?Q+W:window.location.protocol+"//"+window.location.hostname+("/"==W.charAt(0)?"":g)+W);x.push('url("'+W+'"'+F[S].substring(M))}else x.push(F[S])}else x=[g]}return null!=x?x.join(""):null};Editor.prototype.mapFontUrl=function(g,x,F){/^https?:\/\//.test(x)&&!this.isCorsEnabledForUrl(x)&&(x=PROXY_URL+"?url="+
encodeURIComponent(x));F(g,x)};Editor.prototype.embedCssFonts=function(g,x){var F=g.split("url("),M=0;null==this.cachedFonts&&(this.cachedFonts={});var Q=mxUtils.bind(this,function(){if(0==M){for(var X=[F[0]],Z=1;Z<F.length;Z++){var Y=F[Z].indexOf(")");X.push('url("');X.push(this.cachedFonts[Editor.trimCssUrl(F[Z].substring(0,Y))]);X.push('"'+F[Z].substring(Y))}x(X.join(""))}});if(0<F.length){for(g=1;g<F.length;g++){var S=F[g].indexOf(")"),W=null,T=F[g].indexOf("format(",S);0<T&&(W=Editor.trimCssUrl(F[g].substring(T+