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