Language: JavaScript
Label: vulnerable
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:
else{var sa=function(ta){pa&&b.sidebar.currentElt==aa&&fa(ta,mxEvent.getClientX(ma),mxEvent.getClientY(ma));pa=!1;la.src="/images/icon-search.svg"};b.sidebar.hideTooltip();b.sidebar.currentElt=aa;pa=!0;la.src="/images/aui-wait.gif";ia.isExt?L(ia,sa,function(){g(mxResources.get("cantLoadPrev"));pa=!1;la.src="/images/icon-search.svg"}):oa(ia.url,sa)}}function x(ia,aa,la){if(null!=P){for(var ma=P.className.split(" "),oa=0;oa<ma.length;oa++)if(-1<ma[oa].indexOf("Active")){ma.splice(oa,1);break}P.className=