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