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