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:
Editor.prototype.addMathCss=function(l){l=l.getElementsByTagName("defs");if(null!=l&&0<l.length)for(var A=document.getElementsByTagName("style"),N=0;N<A.length;N++){var X=mxUtils.getTextContent(A[N]);0>X.indexOf("mxPageSelector")&&0<X.indexOf("MathJax")&&l[0].appendChild(A[N].cloneNode(!0))}};Editor.prototype.addFontCss=function(l,A){A=null!=A?A:this.absoluteCssFonts(this.fontCss);if(null!=A){var N=l.getElementsByTagName("defs"),X=l.ownerDocument;0==N.length?(N=null!=X.createElementNS?X.createElementNS(mxConstants.NS_SVG,