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:
function(){b.hideDialog()})});L.className="geBtn";b.editor.cancelFirst&&f.appendChild(L);K=mxUtils.button(mxResources.get("insert"),function(c){try{b.hideDialog(),d(z.value,D.value,c)}catch(e){b.handleError(e)}});K.className="geBtn gePrimaryBtn";f.appendChild(K);b.editor.cancelFirst||f.appendChild(L);this.container=f},NewDialog=function(b,f,l,d,q,u,z,D,L,K,E,U,J,c,e,k,n,p){function t(da){null!=da&&(Ga=qa=da?135:140);da=!0;if(null!=Ia)for(;v<Ia.length&&(da||0!=mxUtils.mod(v,30));){var la=Ia[v++];la=
V(la.url,la.libs,la.title,la.tooltip?la.tooltip:la.title,la.select,la.imgUrl,la.info,la.onClick,la.preview,la.noImg,la.clibs);da&&la.click();da=!1}}function y(da,la,ma,oa,ia,ka){if(null!=da&&mxUtils.isAncestorNode(document.body,oa)){da=mxUtils.parseXml(da);da=Editor.parseDiagramNode(da.documentElement);var wa=new mxCodec(da.ownerDocument),sa=new mxGraphModel;wa.decode(da,sa);da=sa.root.getChildAt(0).children;b.sidebar.createTooltip(oa,da,Math.min((window.innerWidth||document.documentElement.clientWidth||