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:
Z.innerHTML=Graph.sanitizeHtml(this.getLabel(B));for(var U=Z.getElementsByTagName("a"),aa=!1,Y=0;Y<U.length;Y++)N=U[Y].getAttribute("href"),null!=N&&"data:action/json,"==N.substring(0,17)&&(U[Y].setAttribute("href",this.updateCustomLink(l,N)),aa=!0);aa&&this.labelChanged(B,Z.innerHTML)}};Graph.prototype.updateCustomLink=function(l,B){if("data:action/json,"==B.substring(0,17))try{var N=JSON.parse(B.substring(17));null!=N.actions&&(this.updateCustomLinkActions(l,N.actions),B="data:action/json,"+JSON.stringify(N))}catch(Z){}return B};