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(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,
"style"):O.createElement("style");m.setAttribute("type","text/css");mxUtils.setTextContent(m,z);J.appendChild(m)}};Editor.prototype.isExportToCanvas=function(){return mxClient.IS_CHROMEAPP||this.useCanvasForExport};Editor.prototype.getMaxCanvasScale=function(m,z,J){var O=mxClient.IS_FF?8192:16384;return Math.min(J,Math.min(O/m,O/z))};Editor.prototype.exportToCanvas=function(m,z,J,O,T,W,V,Q,X,Z,Y,aa,ca,da,ba,sa,za,Ba){try{W=null!=W?W:!0;V=null!=V?V:!0;aa=null!=aa?aa:this.graph;ca=null!=ca?ca:0;var ea=