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