Language: JavaScript
Label: vulnerable
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:
Graph.svgDoctype+"\n"+mxUtils.getXml(m))});this.editor.graph.mathEnabled&&this.editor.addMathCss(S);var Y=mxUtils.bind(this,function(m){A?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.editor.convertImages(m,Q,this.thumbImageCache)):Q(m)});ca?this.embedFonts(S,Y):(this.editor.addFontCss(S),Y(S))}catch(m){this.handleError(m)}};EditorUi.prototype.addRadiobox=function(d,f,k,v,z,A,H){return this.addCheckbox(d,k,v,z,A,H,!0,f)};EditorUi.prototype.addCheckbox=function(d,f,k,v,z,A,H,J){A=null!=
A?A:!0;var O=document.createElement("input");O.style.marginRight="8px";O.style.marginTop="16px";O.setAttribute("type",H?"radio":"checkbox");H="geCheckbox-"+Editor.guid();O.id=H;null!=J&&O.setAttribute("name",J);k&&(O.setAttribute("checked","checked"),O.defaultChecked=!0);v&&O.setAttribute("disabled","disabled");A&&(d.appendChild(O),k=document.createElement("label"),mxUtils.write(k,f),k.setAttribute("for",H),d.appendChild(k),z||mxUtils.br(d));return O};EditorUi.prototype.addEditButton=function(d,f){var k=