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:
null!=x&&x(F,M)};C.call(this,A,I,g)};u.apply(this,arguments);mxClient.IS_SVG&&this.editor.graph.addSvgShadow(e.view.canvas.ownerSVGElement,null,!0);if(null!=this.menus){var G=Menus.prototype.addPopupMenuItems;this.menus.addPopupMenuItems=function(A,I,g){e.isSelectionEmpty()&&"simple"==Editor.currentTheme&&this.addMenuItems(A,["zoomIn","zoomOut","-"],null,g);G.apply(this,arguments);e.isSelectionEmpty()||null==c.addSelectionToScratchpad||this.addMenuItems(A,["-","addToScratchpad"],null,g);e.isSelectionEmpty()&&
"simple"==Editor.currentTheme&&this.addMenuItems(A,["-","exitGroup","home"],null,g)};var B=Menus.prototype.addPopupMenuEditItems;this.menus.addPopupMenuEditItems=function(A,I,g){if(c.editor.graph.isSelectionEmpty())B.apply(this,arguments),c.menus.addMenuItems(A,["copyAsImage"],null,g);else if(this.isShowCellEditItems()?this.addPopupDeleteItem(A,I,g):this.addPopupMenuArrangeItems(A,I,g),this.addMenuItems(A,"- cut copy copyAsImage duplicate -".split(" "),null,g),this.isShowCellEditItems()||this.addPopupDeleteItem(A,