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