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:
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+
7,F[g].indexOf(")",T))));mxUtils.bind(this,function(X){if(null==this.cachedFonts[X]){this.cachedFonts[X]=X;M++;var Z="application/x-font-ttf";if("svg"==W||/(\.svg)($|\?)/i.test(X))Z="image/svg+xml";else if("otf"==W||"embedded-opentype"==W||/(\.otf)($|\?)/i.test(X))Z="application/x-font-opentype";else if("woff"==W||/(\.woff)($|\?)/i.test(X))Z="application/font-woff";else if("woff2"==W||/(\.woff2)($|\?)/i.test(X))Z="application/font-woff2";else if("eot"==W||/(\.eot)($|\?)/i.test(X))Z="application/vnd.ms-fontobject";
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=