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:
0,260,200);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));b.installResizeHandler(this,!0)},ConfirmDialog=function(b,f,m,d,u,v,D,F,K,M,G){var S=document.createElement("div");S.style.textAlign="center";G=null!=G?G:44;var J=document.createElement("div");J.style.padding="6px";J.style.overflow="auto";J.style.maxHeight=G+
"px";J.style.lineHeight="1.2em";mxUtils.write(J,f);S.appendChild(J);null!=M&&(J=document.createElement("div"),J.style.padding="6px 0 6px 0",f=document.createElement("img"),f.setAttribute("src",M),J.appendChild(f),S.appendChild(J));M=document.createElement("div");M.style.textAlign="center";M.style.whiteSpace="nowrap";var c=document.createElement("input");c.setAttribute("type","checkbox");v=mxUtils.button(v||mxResources.get("cancel"),function(){b.hideDialog();null!=d&&d(c.checked)});v.className="geBtn";
null!=F&&(v.innerHTML=F+"<br>"+v.innerHTML,v.style.paddingBottom="8px",v.style.paddingTop="8px",v.style.height="auto",v.style.width="40%");b.editor.cancelFirst&&M.appendChild(v);var e=mxUtils.button(u||mxResources.get("ok"),function(){b.hideDialog();null!=m&&m(c.checked)});M.appendChild(e);null!=D?(e.innerHTML=D+"<br>"+e.innerHTML+"<br>",e.style.paddingBottom="8px",e.style.paddingTop="8px",e.style.height="auto",e.className="geBtn",e.style.width="40%"):e.className="geBtn gePrimaryBtn";b.editor.cancelFirst||
M.appendChild(v);S.appendChild(M);K?(M.style.marginTop="10px",J=document.createElement("p"),J.style.marginTop="20px",J.style.marginBottom="0px",J.appendChild(c),u=document.createElement("span"),mxUtils.write(u," "+mxResources.get("rememberThisSetting")),J.appendChild(u),S.appendChild(J),mxEvent.addListener(u,"click",function(k){c.checked=!c.checked;mxEvent.consume(k)})):M.style.marginTop="12px";this.init=function(){e.focus()};this.container=S},HeadlessEditorUi=function(){EditorUi.call(this,new Editor(!0),