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:
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,
"style"):M.createElement("style");g.setAttribute("type","text/css");mxUtils.setTextContent(g,x);F.appendChild(g)}};Editor.prototype.isExportToCanvas=function(){return mxClient.IS_CHROMEAPP||this.useCanvasForExport};Editor.prototype.getMaxCanvasScale=function(g,x,F){var M=mxClient.IS_FF?8192:16384;return Math.min(F,Math.min(M/g,M/x))};Editor.prototype.exportToCanvas=function(g,x,F,M,P,T,W,U,X,Z,Y,ba,fa,ca,aa,ra,za,Ba){try{T=null!=T?T:!0;W=null!=W?W:!0;ba=null!=ba?ba:this.graph;fa=null!=fa?fa:0;var ea=