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