Language: JavaScript
Label: vulnerable
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
mxUtils.indexOf(this.hiddenTags,m[B]))return!1;return!0};Graph.prototype.getCellsForTags=function(m,B,K,R){var U=[];if(null!=m){B=null!=B?B:this.model.getDescendants(this.model.getRoot());for(var W=0,Q={},V=0;V<m.length;V++)0<m[V].length&&(Q[m[V]]=!0,W++);for(V=0;V<B.length;V++)if(K&&this.model.getParent(B[V])==this.model.root||this.model.isVertex(B[V])||this.model.isEdge(B[V])){var X=this.getTagsForCell(B[V]),Y=!1;if(0<X.length&&(X=X.split(" "),X.length>=m.length)){for(var Z=Y=0;Z<X.length&&Y<W;Z++)null!=
Q[X[Z]]&&Y++;Y=Y==W}Y&&(1!=R||this.isCellVisible(B[V]))&&U.push(B[V])}}return U};Graph.prototype.getAllTags=function(){return this.getTagsForCells(this.model.getDescendants(this.model.getRoot()))};Graph.prototype.getCommonTagsForCells=function(m){for(var B=null,K=[],R=0;R<m.length;R++){var U=this.getTagsForCell(m[R]);K=[];if(0<U.length){U=U.split(" ");for(var W={},Q=0;Q<U.length;Q++)if(null==B||null!=B[U[Q]])W[U[Q]]=!0,K.push(U[Q]);B=W}else return[]}return K};Graph.prototype.getTagsForCells=function(m){for(var B=