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