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:
else if("sfnt"==W||/(\.sfnt)($|\?)/i.test(X))Z="application/font-sfnt";this.mapFontUrl(Z,X,mxUtils.bind(this,function(Y,ba){this.loadUrl(ba,mxUtils.bind(this,function(fa){this.cachedFonts[X]=fa;M--;Q()}),mxUtils.bind(this,function(fa){M--;Q()}),!0,null,"data:"+Y+";charset=utf-8;base64,")}))}})(Editor.trimCssUrl(F[g].substring(0,S)),W)}Q()}else x(g)};Editor.prototype.loadFonts=function(g){null!=this.fontCss&&null==this.resolvedFontCss?this.embedCssFonts(this.fontCss,mxUtils.bind(this,function(x){this.resolvedFontCss=
x;null!=g&&g()})):null!=g&&g()};Editor.prototype.createGoogleFontCache=function(){var g={},x;for(x in Graph.fontMapping)Graph.isCssFontUrl(x)&&(g[x]=Graph.fontMapping[x]);return g};Editor.prototype.embedExtFonts=function(g){var x=this.graph.getCustomFonts();if(0<x.length){var F=[],M=0;null==this.cachedGoogleFonts&&(this.cachedGoogleFonts=this.createGoogleFontCache());for(var Q=mxUtils.bind(this,function(){0==M&&this.embedCssFonts(F.join(""),g)}),S=0;S<x.length;S++)mxUtils.bind(this,function(W,T){Graph.isCssFontUrl(T)?