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