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:
mxUtils.getTextContent(z[J]);0>O.indexOf("mxPageSelector")&&0<O.indexOf("MathJax")&&l[0].appendChild(z[J].cloneNode(!0))}};Editor.prototype.addFontCss=function(l,z){z=null!=z?z:this.absoluteCssFonts(this.fontCss);if(null!=z){var J=l.getElementsByTagName("defs"),O=l.ownerDocument;0==J.length?(J=null!=O.createElementNS?O.createElementNS(mxConstants.NS_SVG,"defs"):O.createElement("defs"),null!=l.firstChild?l.insertBefore(J,l.firstChild):l.appendChild(J)):J=J[0];l=null!=O.createElementNS?O.createElementNS(mxConstants.NS_SVG,
"style"):O.createElement("style");l.setAttribute("type","text/css");mxUtils.setTextContent(l,z);J.appendChild(l)}};Editor.prototype.isExportToCanvas=function(){return mxClient.IS_CHROMEAPP||this.useCanvasForExport};Editor.prototype.getMaxCanvasScale=function(l,z,J){var O=mxClient.IS_FF?8192:16384;return Math.min(J,Math.min(O/l,O/z))};Editor.prototype.exportToCanvas=function(l,z,J,O,T,W,V,S,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=