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:
this.fontCss&&null==this.resolvedFontCss?this.embedCssFonts(this.fontCss,mxUtils.bind(this,function(A){this.resolvedFontCss=A;null!=l&&l()})):null!=l&&l()};Editor.prototype.createGoogleFontCache=function(){var l={},A;for(A in Graph.fontMapping)Graph.isCssFontUrl(A)&&(l[A]=Graph.fontMapping[A]);return l};Editor.prototype.embedExtFonts=function(l){var A=this.graph.getCustomFonts();if(0<A.length){var N=[],X=0;null==this.cachedGoogleFonts&&(this.cachedGoogleFonts=this.createGoogleFontCache());for(var U=
mxUtils.bind(this,function(){0==X&&this.embedCssFonts(N.join(""),l)}),Z=0;Z<A.length;Z++)mxUtils.bind(this,function(ba,ia){Graph.isCssFontUrl(ia)?null==this.cachedGoogleFonts[ia]?(X++,this.loadUrl(ia,mxUtils.bind(this,function(qa){this.cachedGoogleFonts[ia]=qa;N.push(qa+"\n");X--;U()}),mxUtils.bind(this,function(qa){X--;N.push("@import url("+ia+");\n");U()}))):N.push(this.cachedGoogleFonts[ia]+"\n"):N.push('@font-face {font-family: "'+ba+'";src: url("'+ia+'")}\n')})(A[Z].name,A[Z].url);U()}else l()};