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:
Graph.recentCustomFonts[O]=P,y=document.getElementsByTagName("head")[0],null!=H&&("link"==P.elt.nodeName.toLowerCase()?(P.elt.onload=H,P.elt.onerror=H):H()),null!=y&&y.appendChild(P.elt)):null!=H&&H()}else null!=H&&H()}else null!=H&&H();return g};Graph.getFontUrl=function(g,y){g=Graph.customFontElements[g.toLowerCase()];null!=g&&(y=g.url);return y};Graph.processFontAttributes=function(g){g=g.getElementsByTagName("*");for(var y=0;y<g.length;y++){var H=g[y].getAttribute("data-font-src");if(null!=H){var O=
"FONT"==g[y].nodeName?g[y].getAttribute("face"):g[y].style.fontFamily;null!=O&&Graph.addFont(O,H)}}};Graph.processFontStyle=function(g){if(null!=g){var y=mxUtils.getValue(g,"fontSource",null);if(null!=y){var H=mxUtils.getValue(g,mxConstants.STYLE_FONTFAMILY,null);null!=H&&Graph.addFont(H,decodeURIComponent(y))}}return g};Graph.prototype.defaultThemeName="default-style2";Graph.prototype.lastPasteXml=null;Graph.prototype.pasteCounter=0;Graph.prototype.defaultScrollbars="0"!=urlParams.sb;Graph.prototype.defaultPageVisible=