Language: JavaScript
Label: safe
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:
V)&&(Q=0<Q.length?Q+" "+V:V,W=!0)}W&&this.setAttributeForCell(m[M],"tags",Q)}}finally{this.model.endUpdate()}}};Graph.prototype.removeTagsForCells=function(m,A){if(0<m.length&&0<A.length){this.model.beginUpdate();try{for(var M=0;M<m.length;M++){var Q=this.getTagsForCell(m[M]);if(0<Q.length){for(var U=Q.split(" "),W=!1,P=0;P<A.length;P++){var V=mxUtils.indexOf(U,A[P]);0<=V&&(U.splice(V,1),W=!0)}W&&this.setAttributeForCell(m[M],"tags",U.join(" "))}}}finally{this.model.endUpdate()}}};Graph.prototype.toggleCells=