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:
H.formatElt.style.width)}function e(H,d){function g(t,v){var B=H.menus.get(t);t=n.addMenu(v,mxUtils.bind(this,function(){B.funct.apply(this,arguments)}));t.style.cssText="position:absolute;border-width:1px;cusor:pointer;border-style:none;height:24px;bottom:0px;text-align:center;padding:8px 6px 0 6px;border-top-style:solid;width:50%;height:32px;box-sizing:border-box;font-size:11px;";t.className="geTitle";d.appendChild(t);return t}var n=new Menubar(H,d);if(Editor.enableCustomLibraries&&("1"!=urlParams.embed||
"1"==urlParams.libraries))if(null!=H.actions.get("newLibrary")){var q=document.createElement("div");q.style.cssText="position:absolute;border-width:1px;cusor:pointer;border-style:none;height:24px;bottom:0px;text-align:center;padding:8px 6px 0 6px;border-top-style:solid;width:50%;height:32px;box-sizing:border-box;font-size:11px;";q.className="geTitle";mxUtils.write(q,mxResources.get("newLibrary"));d.appendChild(q);mxEvent.addListener(q,"click",this.actions.get("newLibrary").funct);q=q.cloneNode(!1);
q.style.left="50%";q.style.borderLeftStyle="solid";mxUtils.write(q,mxResources.get("openLibrary"));d.appendChild(q);mxEvent.addListener(q,"click",this.actions.get("openLibrary").funct)}else q=g("newLibrary",mxResources.get("newLibrary")),q.style.fontSize="11px",q.style.left="0",q=g("openLibraryFrom",mxResources.get("openLibraryFrom")),q.style.borderLeftStyle="solid",q.style.fontSize="11px",q.style.left="50%";d.appendChild(H.sidebar.container);d.style.overflow="hidden"}function f(H,d){if(EditorUi.windowed){var g=