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=[];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<