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