Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
function(M,Q){if(null==Q){var U=mxEvent.getSource(M);"a"==U.nodeName.toLowerCase()&&(Q=U.getAttribute("href"))}null!=Q&&g.isCustomLink(Q)&&(mxEvent.isTouchEvent(M)||!mxEvent.isPopupTrigger(M))&&g.customLinkClicked(Q)&&mxEvent.consume(M);null!=A&&A(M,Q)};H.call(this,K,R,m)};l.apply(this,arguments);mxClient.IS_SVG&&this.editor.graph.addSvgShadow(g.view.canvas.ownerSVGElement,null,!0);if(null!=this.menus){var L=Menus.prototype.addPopupMenuItems;this.menus.addPopupMenuItems=function(K,R,m){g.isSelectionEmpty()&&