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