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:
k,u,z,B,F,!0,f)};EditorUi.prototype.addCheckbox=function(d,f,k,u,z,B,F,K){B=null!=B?B:!0;var N=document.createElement("input");N.style.marginRight="8px";N.style.marginTop="16px";N.setAttribute("type",F?"radio":"checkbox");F="geCheckbox-"+Editor.guid();N.id=F;null!=K&&N.setAttribute("name",K);k&&(N.setAttribute("checked","checked"),N.defaultChecked=!0);u&&N.setAttribute("disabled","disabled");B&&(d.appendChild(N),k=document.createElement("label"),mxUtils.write(k,f),k.setAttribute("for",F),d.appendChild(k),
z||mxUtils.br(d));return N};EditorUi.prototype.addEditButton=function(d,f){var k=this.addCheckbox(d,mxResources.get("edit")+":",!0,null,!0);k.style.marginLeft="24px";var u=this.getCurrentFile(),z="";null!=u&&u.getMode()!=App.MODE_DEVICE&&u.getMode()!=App.MODE_BROWSER&&(z=window.location.href);var B=document.createElement("select");B.style.maxWidth="200px";B.style.width="auto";B.style.marginLeft="8px";B.style.marginRight="10px";B.className="geBtn";u=document.createElement("option");u.setAttribute("value",