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