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:
z?z.checked:null,y.value,"embedFonts"==V.value,"lblToSvg"==V.value)}),null,n,q);this.showDialog(n.container,340,R,!0,!0,null,null,null,null,!0);Q.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?Q.select():document.execCommand("selectAll",!1,null)};EditorUi.prototype.showEmbedImageDialog=function(d,g,n,q,t){var x=document.createElement("div");x.style.whiteSpace="nowrap";var B=this.editor.graph;if(null!=g){var G=document.createElement("h3");mxUtils.write(G,g);G.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";
x.appendChild(G)}var I=this.addCheckbox(x,mxResources.get("fit"),!0),F=this.addCheckbox(x,mxResources.get("shadow"),B.shadowVisible&&q,!q),U=this.addCheckbox(x,n),R=this.addCheckbox(x,mxResources.get("lightbox"),!0),N=this.addEditButton(x,R),Q=N.getEditInput(),P=1<B.model.getChildCount(B.model.getRoot()),M=this.addCheckbox(x,mxResources.get("layers"),P,!P);M.style.marginLeft=Q.style.marginLeft;M.style.marginBottom="12px";M.style.marginTop="8px";mxEvent.addListener(R,"change",function(){R.checked?
(P&&M.removeAttribute("disabled"),Q.removeAttribute("disabled")):(M.setAttribute("disabled","disabled"),Q.setAttribute("disabled","disabled"));Q.checked&&R.checked?N.getEditSelect().removeAttribute("disabled"):N.getEditSelect().setAttribute("disabled","disabled")});g=new CustomDialog(this,x,mxUtils.bind(this,function(){d(I.checked,F.checked,U.checked,R.checked,N.getLink(),M.checked)}),null,mxResources.get("embed"),t);this.showDialog(g.container,280,300,!0,!0)};EditorUi.prototype.createEmbedImage=