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+'";\nsrc: url("'+B+'");\n}'),l=document.createElement("style"),mxUtils.write(l,N));return l};Graph.addFont=function(l,B,N){if(null!=l&&0<l.length&&null!=B&&0<B.length){var Z=l.toLowerCase();if("helvetica"!=Z&&"arial"!=l&&"sans-serif"!=Z){var U=Graph.customFontElements[Z];null!=U&&U.url!=B&&(U.elt.parentNode.removeChild(U.elt),U=null);null==U?(U=B,"http:"==B.substring(0,5)&&(U=PROXY_URL+"?url="+encodeURIComponent(B)),U={name:l,url:B,elt:Graph.createFontElement(l,U)},Graph.customFontElements[Z]=U,
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=