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:
I.formatElt.style.width)}function f(I,c){function e(p,t){var y=I.menus.get(p);p=k.addMenu(t,mxUtils.bind(this,function(){y.funct.apply(this,arguments)}));p.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;";p.className="geTitle";c.appendChild(p);return p}var k=new Menubar(I,c);if(Editor.enableCustomLibraries&&("1"!=urlParams.embed||
"1"==urlParams.libraries))if(null!=I.actions.get("newLibrary")){var n=document.createElement("div");n.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;";n.className="geTitle";mxUtils.write(n,mxResources.get("newLibrary"));c.appendChild(n);mxEvent.addListener(n,"click",this.actions.get("newLibrary").funct);n=n.cloneNode(!1);
n.style.left="50%";n.style.borderLeftStyle="solid";mxUtils.write(n,mxResources.get("openLibrary"));c.appendChild(n);mxEvent.addListener(n,"click",this.actions.get("openLibrary").funct)}else n=e("newLibrary",mxResources.get("newLibrary")),n.style.fontSize="11px",n.style.left="0",n=e("openLibraryFrom",mxResources.get("openLibraryFrom")),n.style.borderLeftStyle="solid",n.style.fontSize="11px",n.style.left="50%";c.appendChild(I.sidebar.container);c.style.overflow="hidden"}function l(I,c){if(EditorUi.windowed){var e=