Language: JavaScript
Label: vulnerable
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:
null==this.cachedGoogleFonts[U]?(M++,this.loadUrl(U,mxUtils.bind(this,function(X){this.cachedGoogleFonts[U]=X;F.push(X+"\n");M--;P()}),mxUtils.bind(this,function(X){M--;F.push("@import url("+U+");\n");P()}))):F.push(this.cachedGoogleFonts[U]+"\n"):F.push('@font-face {font-family: "'+W+'";src: url("'+U+'")}\n')})(x[T].name,x[T].url);P()}else g()};Editor.prototype.addMathCss=function(g){g=g.getElementsByTagName("defs");if(null!=g&&0<g.length)for(var x=document.getElementsByTagName("style"),F=0;F<x.length;F++){var M=
mxUtils.getTextContent(x[F]);0>M.indexOf("mxPageSelector")&&0<M.indexOf("MathJax")&&g[0].appendChild(x[F].cloneNode(!0))}};Editor.prototype.addFontCss=function(g,x){x=null!=x?x:this.absoluteCssFonts(this.fontCss);if(null!=x){var F=g.getElementsByTagName("defs"),M=g.ownerDocument;0==F.length?(F=null!=M.createElementNS?M.createElementNS(mxConstants.NS_SVG,"defs"):M.createElement("defs"),null!=g.firstChild?g.insertBefore(F,g.firstChild):g.appendChild(F)):F=F[0];g=null!=M.createElementNS?M.createElementNS(mxConstants.NS_SVG,