Language: JavaScript
Label: vulnerable
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:
B,this.thumbImageCache)):B(g)});N?this.embedFonts(m,H):(this.editor.addFontCss(m),H(m))}catch(g){this.handleError(g)}};EditorUi.prototype.addRadiobox=function(c,e,k,n,p,t,y){return this.addCheckbox(c,k,n,p,t,y,!0,e)};EditorUi.prototype.addCheckbox=function(c,e,k,n,p,t,y,A){t=null!=t?t:!0;var G=document.createElement("input");G.style.marginRight="8px";G.style.marginTop="16px";G.setAttribute("type",y?"radio":"checkbox");y="geCheckbox-"+Editor.guid();G.id=y;null!=A&&G.setAttribute("name",A);k&&(G.setAttribute("checked",
"checked"),G.defaultChecked=!0);n&&G.setAttribute("disabled","disabled");t&&(c.appendChild(G),k=document.createElement("label"),mxUtils.write(k,e),k.setAttribute("for",y),c.appendChild(k),p||mxUtils.br(c));return G};EditorUi.prototype.addEditButton=function(c,e){var k=this.addCheckbox(c,mxResources.get("edit")+":",!0,null,!0);k.style.marginLeft="24px";var n=this.getCurrentFile(),p="";null!=n&&n.getMode()!=App.MODE_DEVICE&&n.getMode()!=App.MODE_BROWSER&&(p=window.location.href);var t=document.createElement("select");