Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

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