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(N);var U=mxUtils.bind(this,function(g){t?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.editor.convertImages(g,L,this.thumbImageCache)):L(g)});n?this.embedFonts(N,U):(this.editor.addFontCss(N),U(N))}catch(g){this.handleError(g)}};EditorUi.prototype.addRadiobox=function(c,e,k,q,p,t,x){return this.addCheckbox(c,k,q,p,t,x,!0,e)};EditorUi.prototype.addCheckbox=function(c,e,k,q,p,t,x,C){t=null!=t?t:!0;var I=document.createElement("input");
I.style.marginRight="8px";I.style.marginTop="16px";I.setAttribute("type",x?"radio":"checkbox");x="geCheckbox-"+Editor.guid();I.id=x;null!=C&&I.setAttribute("name",C);k&&(I.setAttribute("checked","checked"),I.defaultChecked=!0);q&&I.setAttribute("disabled","disabled");t&&(c.appendChild(I),k=document.createElement("label"),mxUtils.write(k,e),k.setAttribute("for",x),c.appendChild(k),p||mxUtils.br(c));return I};EditorUi.prototype.addEditButton=function(c,e){var k=this.addCheckbox(c,mxResources.get("edit")+