Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
Editor.prototype.addFontCss=function(m,A){A=null!=A?A:this.absoluteCssFonts(this.fontCss);if(null!=A){var M=m.getElementsByTagName("defs"),Q=m.ownerDocument;0==M.length?(M=null!=Q.createElementNS?Q.createElementNS(mxConstants.NS_SVG,"defs"):Q.createElement("defs"),null!=m.firstChild?m.insertBefore(M,m.firstChild):m.appendChild(M)):M=M[0];m=null!=Q.createElementNS?Q.createElementNS(mxConstants.NS_SVG,"style"):Q.createElement("style");m.setAttribute("type","text/css");mxUtils.setTextContent(m,A);M.appendChild(m)}};