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:
EditorUi.initMinimalTheme=function(){function b(H,d){if(EditorUi.windowed){var g=H.editor.graph;g.popupMenuHandler.hideMenu();null==H.formatWindow?(d=Math.max(10,H.diagramContainer.clientWidth-248),g=Math.min(566,g.container.clientHeight-10),H.formatWindow=new WrapperWindow(H,mxResources.get("format"),d,60,240,g,function(n){H.createFormat(n).init()}),H.formatWindow.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){H.formatWindow.window.fit()})),H.formatWindow.window.minimumSize=new mxRectangle(0,
0,240,80)):H.formatWindow.window.setVisible(null!=d?d:!H.formatWindow.window.isVisible())}else null==H.formatElt&&(H.formatElt=H.createSidebarContainer(),H.createFormat(H.formatElt).init(),H.formatElt.style.border="none",H.formatElt.style.width="240px",H.formatElt.style.borderLeft="1px solid gray",H.formatElt.style.right="0px"),g=H.diagramContainer.parentNode,null!=H.formatElt.parentNode?(H.formatElt.parentNode.removeChild(H.formatElt),g.style.right="0px"):(g.parentNode.appendChild(H.formatElt),g.style.right=
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||