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