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:
F.substring(0,17)&&this.setLinkForCell(x,this.updateCustomLink(g,F));if(this.isHtmlLabel(x)){var M=document.createElement("div");M.innerHTML=Graph.sanitizeHtml(this.getLabel(x));for(var P=M.getElementsByTagName("a"),T=!1,W=0;W<P.length;W++)F=P[W].getAttribute("href"),null!=F&&"data:action/json,"==F.substring(0,17)&&(P[W].setAttribute("href",this.updateCustomLink(g,F)),T=!0);T&&this.labelChanged(x,M.innerHTML)}};Graph.prototype.updateCustomLink=function(g,x){if("data:action/json,"==x.substring(0,17))try{var F=
JSON.parse(x.substring(17));null!=F.actions&&(this.updateCustomLinkActions(g,F.actions),x="data:action/json,"+JSON.stringify(F))}catch(M){}return x};Graph.prototype.updateCustomLinkActions=function(g,x){for(var F=0;F<x.length;F++){var M=x[F],P;for(P in M)this.updateCustomLinkAction(g,M[P],"cells"),this.updateCustomLinkAction(g,M[P],"excludeCells")}};Graph.prototype.updateCustomLinkAction=function(g,x,F){if(null!=x&&null!=x[F]){for(var M=[],P=0;P<x[F].length;P++)if("*"==x[F][P])M.push(x[F][P]);else{var T=