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