Language: JavaScript
Label: safe
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:
JSON.parse(z.substring(17));null!=J.actions&&(this.updateCustomLinkActions(l,J.actions),z="data:action/json,"+JSON.stringify(J))}catch(O){}return z};Graph.prototype.updateCustomLinkActions=function(l,z){for(var J=0;J<z.length;J++){var O=z[J],T;for(T in O)this.updateCustomLinkAction(l,O[T],"cells"),this.updateCustomLinkAction(l,O[T],"excludeCells")}};Graph.prototype.updateCustomLinkAction=function(l,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=
l[z[J][T]];null!=W?""!=W&&O.push(W):O.push(z[J][T])}z[J]=O}};Graph.prototype.getCellsForAction=function(l,z){z=this.getCellsById(l.cells).concat(this.getCellsForTags(l.tags,null,z));if(null!=l.excludeCells){for(var J=[],O=0;O<z.length;O++)0>l.excludeCells.indexOf(z[O].id)&&J.push(z[O]);z=J}return z};Graph.prototype.getCellsById=function(l){var z=[];if(null!=l)for(var J=0;J<l.length;J++)if("*"==l[J]){var O=this.model.getRoot();z=z.concat(this.model.filterDescendants(function(W){return W!=O},O))}else{var T=