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(z));J(m,z)};Editor.prototype.embedCssFonts=function(m,z){var J=m.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(m=1;m<J.length;m++){var W=J[m].indexOf(")"),V=null,Q=J[m].indexOf("format(",W);0<Q&&(V=Editor.trimCssUrl(J[m].substring(Q+
7,J[m].indexOf(")",Q))));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[m].substring(0,W)),V)}T()}else z(m)};Editor.prototype.loadFonts=function(m){null!=this.fontCss&&null==this.resolvedFontCss?this.embedCssFonts(this.fontCss,mxUtils.bind(this,function(z){this.resolvedFontCss=