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(W,d){if(EditorUi.windowed){var f=W.editor.graph;f.popupMenuHandler.hideMenu();null==W.formatWindow?(d=Math.max(10,W.diagramContainer.clientWidth-248),f=Math.min(566,f.container.clientHeight-10),W.formatWindow=new WrapperWindow(W,mxResources.get("format"),d,60,240,f,function(k){W.createFormat(k).init()}),W.formatWindow.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){W.formatWindow.window.fit()})),W.formatWindow.window.minimumSize=new mxRectangle(0,
0,240,80)):W.formatWindow.window.setVisible(null!=d?d:!W.formatWindow.window.isVisible())}else null==W.formatElt&&(W.formatElt=W.createSidebarContainer(),W.createFormat(W.formatElt).init(),W.formatElt.style.border="none",W.formatElt.style.width="240px",W.formatElt.style.borderLeft="1px solid gray",W.formatElt.style.right="0px"),f=W.diagramContainer.parentNode,null!=W.formatElt.parentNode?(W.formatElt.parentNode.removeChild(W.formatElt),f.style.right="0px"):(f.parentNode.appendChild(W.formatElt),f.style.right=
W.formatElt.style.width)}function e(W,d){function f(z,C){var F=W.menus.get(z);z=k.addMenu(C,mxUtils.bind(this,function(){F.funct.apply(this,arguments)}));z.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;";z.className="geTitle";d.appendChild(z);return z}var k=new Menubar(W,d);if(Editor.enableCustomLibraries&&("1"!=urlParams.embed||