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:
this.model.root||this.model.isVertex(z[S])||this.model.isEdge(z[S])){var X=this.getTagsForCell(z[S]),Z=!1;if(0<X.length&&(X=X.split(" "),X.length>=l.length)){for(var Y=Z=0;Y<X.length&&Z<W;Y++)null!=V[X[Y]]&&Z++;Z=Z==W}Z&&(1!=O||this.isCellVisible(z[S]))&&T.push(z[S])}}return T};Graph.prototype.getAllTags=function(){return this.getTagsForCells(this.model.getDescendants(this.model.getRoot()))};Graph.prototype.getCommonTagsForCells=function(l){for(var z=null,J=[],O=0;O<l.length;O++){var T=this.getTagsForCell(l[O]);
J=[];if(0<T.length){T=T.split(" ");for(var W={},V=0;V<T.length;V++)if(null==z||null!=z[T[V]])W[T[V]]=!0,J.push(T[V]);z=W}else return[]}return J};Graph.prototype.getTagsForCells=function(l){for(var z=[],J={},O=0;O<l.length;O++){var T=this.getTagsForCell(l[O]);if(0<T.length){T=T.split(" ");for(var W=0;W<T.length;W++)null==J[T[W]]&&(J[T[W]]=!0,z.push(T[W]))}}return z};Graph.prototype.getTagsForCell=function(l){return this.getAttributeForCell(l,"tags","")};Graph.prototype.addTagsForCells=function(l,z){if(0<