Language: JavaScript
Label: safe
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:
v),(g==mxLanguage||""==g&&null==mxLanguage)&&m.addCheckmark(F,Editor.checkmarkImage));return F});A("");m.addSeparator(v);for(var I in mxLanguageMap)A(I)})));var c=Menus.prototype.createMenubar;Menus.prototype.createMenubar=function(m){var v=c.apply(this,arguments);if(("1"!=urlParams.embed||"1"==urlParams.atlas)&&null!=v&&Editor.enableSimpleTheme&&"atlassian"!=d.getServiceName()){var A=this.get("appearance");if(null!=A){var I=v.addMenu("",A.funct);I.setAttribute("title",mxResources.get("appearance"));
I.className="geToolbarButton geAdaptiveAsset";I.style.backgroundPosition="center center";I.style.backgroundRepeat="no-repeat";I.style.backgroundSize="100% 100%";I.style.display="inline-block";I.style.cursor="pointer";I.style.zIndex="1";I.style.position="absolute";I.style.height="18px";I.style.width="18px";"atlas"==Editor.currentTheme?(I.style.filter="invert(100%)",I.style.right="11px",I.style.top="10px"):(I.style.right="10px",I.style.top="5px");document.body.appendChild(I);v.langIcon=I;A=mxUtils.bind(this,
function(){var g=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;I.style.display="atlas"==Editor.currentTheme||"min"==Editor.currentTheme||"sketch"==Editor.currentTheme?"none":"";I.style.backgroundImage="simple"==Editor.currentTheme?750>g?"url("+Editor.thinDoubleArrowRightImage+")":"url("+(Editor.isDarkMode()?Editor.thinDarkImage:Editor.thinLightImage)+")":"url("+(Editor.isDarkMode()?Editor.darkModeImage:Editor.lightModeImage)+")"});this.editorUi.addListener("currentThemeChanged",
A);this.editorUi.addListener("darkModeChanged",A);mxEvent.addListener(window,"resize",A);A()}}return v}}d.customLayoutConfig=[{layout:"mxHierarchicalLayout",config:{orientation:"west",intraCellSpacing:30,interRankCellSpacing:100,interHierarchySpacing:60,parallelEdgeSpacing:10}}];d.actions.addAction("runLayout",function(){d.showCustomLayoutDialog(JSON.stringify(d.customLayoutConfig,null,2))});E=this.get("viewZoom");var e=E.funct;E.funct=mxUtils.bind(this,function(m,v){e.apply(this,arguments);"sketch"!=