Language: JavaScript
Label: safe
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:
l&&l()};Editor.prototype.createGoogleFontCache=function(){var l={},B;for(B in Graph.fontMapping)Graph.isCssFontUrl(B)&&(l[B]=Graph.fontMapping[B]);return l};Editor.prototype.embedExtFonts=function(l){var B=this.graph.getCustomFonts();if(0<B.length){var N=[],Z=0;null==this.cachedGoogleFonts&&(this.cachedGoogleFonts=this.createGoogleFontCache());for(var U=mxUtils.bind(this,function(){0==Z&&this.embedCssFonts(N.join(""),l)}),aa=0;aa<B.length;aa++)mxUtils.bind(this,function(Y,ka){Graph.isCssFontUrl(ka)?
null==this.cachedGoogleFonts[ka]?(Z++,this.loadUrl(ka,mxUtils.bind(this,function(qa){this.cachedGoogleFonts[ka]=qa;N.push(qa+"\n");Z--;U()}),mxUtils.bind(this,function(qa){Z--;N.push("@import url("+ka+");\n");U()}))):N.push(this.cachedGoogleFonts[ka]+"\n"):N.push('@font-face {font-family: "'+Y+'";src: url("'+ka+'")}\n')})(B[aa].name,B[aa].url);U()}else l()};Editor.prototype.addMathCss=function(l){l=l.getElementsByTagName("defs");if(null!=l&&0<l.length)for(var B=document.getElementsByTagName("style"),