Language: JavaScript
Label: vulnerable
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
null==this.resolvedFontCss?this.embedCssFonts(this.fontCss,mxUtils.bind(this,function(C){this.resolvedFontCss=C;null!=m&&m()})):null!=m&&m()};Editor.prototype.createGoogleFontCache=function(){var m={},C;for(C in Graph.fontMapping)Graph.isCssFontUrl(C)&&(m[C]=Graph.fontMapping[C]);return m};Editor.prototype.embedExtFonts=function(m){var C=this.graph.getCustomFonts();if(0<C.length){var M=[],ba=0;null==this.cachedGoogleFonts&&(this.cachedGoogleFonts=this.createGoogleFontCache());for(var V=mxUtils.bind(this,
function(){0==ba&&this.embedCssFonts(M.join(""),m)}),Z=0;Z<C.length;Z++)mxUtils.bind(this,function(aa,ka){Graph.isCssFontUrl(ka)?null==this.cachedGoogleFonts[ka]?(ba++,this.loadUrl(ka,mxUtils.bind(this,function(qa){this.cachedGoogleFonts[ka]=qa;M.push(qa+"\n");ba--;V()}),mxUtils.bind(this,function(qa){ba--;M.push("@import url("+ka+");\n");V()}))):M.push(this.cachedGoogleFonts[ka]+"\n"):M.push('@font-face {font-family: "'+aa+'";src: url("'+ka+'")}\n')})(C[Z].name,C[Z].url);V()}else m()};Editor.prototype.addMathCss=