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:
l.length&&0<z.length){this.model.beginUpdate();try{for(var J=0;J<l.length;J++){for(var O=this.getTagsForCell(l[J]),T=O.split(" "),W=!1,V=0;V<z.length;V++){var S=mxUtils.trim(z[V]);""!=S&&0>mxUtils.indexOf(T,S)&&(O=0<O.length?O+" "+S:S,W=!0)}W&&this.setAttributeForCell(l[J],"tags",O)}}finally{this.model.endUpdate()}}};Graph.prototype.removeTagsForCells=function(l,z){if(0<l.length&&0<z.length){this.model.beginUpdate();try{for(var J=0;J<l.length;J++){var O=this.getTagsForCell(l[J]);if(0<O.length){for(var T=