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(z));J(l,z)};Editor.prototype.embedCssFonts=function(l,z){var J=l.split("url("),O=0;null==this.cachedFonts&&(this.cachedFonts={});var T=mxUtils.bind(this,function(){if(0==O){for(var X=[J[0]],Z=1;Z<J.length;Z++){var Y=J[Z].indexOf(")");X.push('url("');X.push(this.cachedFonts[Editor.trimCssUrl(J[Z].substring(0,Y))]);X.push('"'+J[Z].substring(Y))}z(X.join(""))}});if(0<J.length){for(l=1;l<J.length;l++){var W=J[l].indexOf(")"),V=null,S=J[l].indexOf("format(",W);0<S&&(V=Editor.trimCssUrl(J[l].substring(S+
7,J[l].indexOf(")",S))));mxUtils.bind(this,function(X){if(null==this.cachedFonts[X]){this.cachedFonts[X]=X;O++;var Z="application/x-font-ttf";if("svg"==V||/(\.svg)($|\?)/i.test(X))Z="image/svg+xml";else if("otf"==V||"embedded-opentype"==V||/(\.otf)($|\?)/i.test(X))Z="application/x-font-opentype";else if("woff"==V||/(\.woff)($|\?)/i.test(X))Z="application/font-woff";else if("woff2"==V||/(\.woff2)($|\?)/i.test(X))Z="application/font-woff2";else if("eot"==V||/(\.eot)($|\?)/i.test(X))Z="application/vnd.ms-fontobject";
else if("sfnt"==V||/(\.sfnt)($|\?)/i.test(X))Z="application/font-sfnt";this.mapFontUrl(Z,X,mxUtils.bind(this,function(Y,aa){this.loadUrl(aa,mxUtils.bind(this,function(ca){this.cachedFonts[X]=ca;O--;T()}),mxUtils.bind(this,function(ca){O--;T()}),!0,null,"data:"+Y+";charset=utf-8;base64,")}))}})(Editor.trimCssUrl(J[l].substring(0,W)),V)}T()}else z(l)};Editor.prototype.loadFonts=function(l){null!=this.fontCss&&null==this.resolvedFontCss?this.embedCssFonts(this.fontCss,mxUtils.bind(this,function(z){this.resolvedFontCss=