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:
this.editor.graph.mathEnabled&&this.editor.addMathCss(O);var R=mxUtils.bind(this,function(m){v?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.editor.convertImages(m,K,this.thumbImageCache)):K(m)});q?this.embedFonts(O,R):(this.editor.addFontCss(O),R(O))}catch(m){this.handleError(m)}};EditorUi.prototype.addRadiobox=function(d,g,n,t,u,v,B){return this.addCheckbox(d,n,t,u,v,B,!0,g)};EditorUi.prototype.addCheckbox=function(d,g,n,t,u,v,B,H){v=null!=v?v:!0;var L=document.createElement("input");
L.style.marginRight="8px";L.style.marginTop="16px";L.setAttribute("type",B?"radio":"checkbox");B="geCheckbox-"+Editor.guid();L.id=B;null!=H&&L.setAttribute("name",H);n&&(L.setAttribute("checked","checked"),L.defaultChecked=!0);t&&L.setAttribute("disabled","disabled");v&&(d.appendChild(L),n=document.createElement("label"),mxUtils.write(n,g),n.setAttribute("for",B),d.appendChild(n),u||mxUtils.br(d));return L};EditorUi.prototype.addEditButton=function(d,g){var n=this.addCheckbox(d,mxResources.get("edit")+