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:
Editor.prototype.loadFonts=function(l){null!=this.fontCss&&null==this.resolvedFontCss?this.embedCssFonts(this.fontCss,mxUtils.bind(this,function(A){this.resolvedFontCss=A;null!=l&&l()})):null!=l&&l()};Editor.prototype.createGoogleFontCache=function(){var l={},A;for(A in Graph.fontMapping)Graph.isCssFontUrl(A)&&(l[A]=Graph.fontMapping[A]);return l};Editor.prototype.embedExtFonts=function(l){var A=this.graph.getCustomFonts();if(0<A.length){var O=[],X=0;null==this.cachedGoogleFonts&&(this.cachedGoogleFonts=
this.createGoogleFontCache());for(var U=mxUtils.bind(this,function(){0==X&&this.embedCssFonts(O.join(""),l)}),aa=0;aa<A.length;aa++)mxUtils.bind(this,function(ba,ia){Graph.isCssFontUrl(ia)?null==this.cachedGoogleFonts[ia]?(X++,this.loadUrl(ia,mxUtils.bind(this,function(qa){this.cachedGoogleFonts[ia]=qa;O.push(qa+"\n");X--;U()}),mxUtils.bind(this,function(qa){X--;O.push("@import url("+ia+");\n");U()}))):O.push(this.cachedGoogleFonts[ia]+"\n"):O.push('@font-face {font-family: "'+ba+'";src: url("'+ia+
'")}\n')})(A[aa].name,A[aa].url);U()}else l()};Editor.prototype.addMathCss=function(l){l=l.getElementsByTagName("defs");if(null!=l&&0<l.length)for(var A=document.getElementsByTagName("style"),O=0;O<A.length;O++){var X=mxUtils.getTextContent(A[O]);0>X.indexOf("mxPageSelector")&&0<X.indexOf("MathJax")&&l[0].appendChild(A[O].cloneNode(!0))}};Editor.prototype.addFontCss=function(l,A){A=null!=A?A:this.absoluteCssFonts(this.fontCss);if(null!=A){var O=l.getElementsByTagName("defs"),X=l.ownerDocument;0==