Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

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,l,d,q,u,z,D,L,K,E){var U=document.createElement("div");U.style.textAlign="center";E=null!=E?E:44;var J=document.createElement("div");J.style.padding="6px";J.style.overflow="auto";J.style.maxHeight=E+
"px";J.style.lineHeight="1.2em";mxUtils.write(J,f);U.appendChild(J);null!=K&&(J=document.createElement("div"),J.style.padding="6px 0 6px 0",f=document.createElement("img"),f.setAttribute("src",K),J.appendChild(f),U.appendChild(J));K=document.createElement("div");K.style.textAlign="center";K.style.whiteSpace="nowrap";var c=document.createElement("input");c.setAttribute("type","checkbox");u=mxUtils.button(u||mxResources.get("cancel"),function(){b.hideDialog();null!=d&&d(c.checked)});u.className="geBtn";
null!=D&&(u.innerHTML=D+"<br>"+u.innerHTML,u.style.paddingBottom="8px",u.style.paddingTop="8px",u.style.height="auto",u.style.width="40%");b.editor.cancelFirst&&K.appendChild(u);var e=mxUtils.button(q||mxResources.get("ok"),function(){b.hideDialog();null!=l&&l(c.checked)});K.appendChild(e);null!=z?(e.innerHTML=z+"<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||
K.appendChild(u);U.appendChild(K);L?(K.style.marginTop="10px",J=document.createElement("p"),J.style.marginTop="20px",J.style.marginBottom="0px",J.appendChild(c),q=document.createElement("span"),mxUtils.write(q," "+mxResources.get("rememberThisSetting")),J.appendChild(q),U.appendChild(J),mxEvent.addListener(q,"click",function(k){c.checked=!c.checked;mxEvent.consume(k)})):K.style.marginTop="12px";this.init=function(){e.focus()};this.container=U},HeadlessEditorUi=function(){EditorUi.call(this,new Editor(!0),