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:
mxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=O)}));this.popupMenuHandler.autoExpand=!0;this.popupMenuHandler.isSelectOnPopup=function(S){return mxEvent.isMouseEvent(S.getEvent())};var G=this.click;this.click=function(S){var da=null==S.state&&null!=S.sourceState&&this.isCellLocked(this.getLayerForCell(S.sourceState.cell));if(this.isEnabled()&&!da||S.isConsumed())return G.apply(this,arguments);da=da?S.sourceState.cell:S.getCell();null!=da&&(da=this.getClickableLinkForCell(da),
null!=da&&(this.isCustomLink(da)?this.customLinkClicked(da):this.openLink(da)))};this.tooltipHandler.getStateForEvent=function(S){return S.sourceState};var ja=this.tooltipHandler.show;this.tooltipHandler.show=function(){ja.apply(this,arguments);if(null!=this.div)for(var S=this.div.getElementsByTagName("a"),da=0;da<S.length;da++)null!=S[da].getAttribute("href")&&null==S[da].getAttribute("target")&&S[da].setAttribute("target","_blank")};this.tooltipHandler.getStateForEvent=function(S){return S.sourceState};