Language: JavaScript
Label: vulnerable
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 P=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 T=F[g].indexOf(")"),W=null,U=F[g].indexOf("format(",T);0<U&&(W=Editor.trimCssUrl(F[g].substring(U+
7,F[g].indexOf(")",U))));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--;P()}),mxUtils.bind(this,function(fa){M--;P()}),!0,null,"data:"+Y+";charset=utf-8;base64,")}))}})(Editor.trimCssUrl(F[g].substring(0,T)),W)}P()}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=