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:
J.getChildCells(Q,!0);if(1>=ea.length)J.remove(Q);else{this.isTableRow(Y)||(Y=ea[ea.length-1]);J.remove(Y);x=0;var la=this.getCellGeometry(Y);null!=la&&(x=la.height);var oa=this.getCellGeometry(Q);null!=oa&&(oa=oa.clone(),oa.height-=x,J.setGeometry(Q,oa))}}finally{J.endUpdate()}};Graph.prototype.insertRow=function(x,J){for(var Q=x.tBodies[0],Y=Q.rows[0].cells,ea=x=0;ea<Y.length;ea++){var la=Y[ea].getAttribute("colspan");x+=null!=la?parseInt(la):1}J=Q.insertRow(J);for(ea=0;ea<x;ea++)mxUtils.br(J.insertCell(-1));
return J.cells[0]};Graph.prototype.deleteRow=function(x,J){x.tBodies[0].deleteRow(J)};Graph.prototype.insertColumn=function(x,J){var Q=x.tHead;if(null!=Q)for(var Y=0;Y<Q.rows.length;Y++){var ea=document.createElement("th");Q.rows[Y].appendChild(ea);mxUtils.br(ea)}x=x.tBodies[0];for(Q=0;Q<x.rows.length;Q++)Y=x.rows[Q].insertCell(J),mxUtils.br(Y);return x.rows[0].cells[0<=J?J:x.rows[0].cells.length-1]};Graph.prototype.deleteColumn=function(x,J){if(0<=J){x=x.tBodies[0].rows;for(var Q=0;Q<x.length;Q++)x[Q].cells.length>