Language: JavaScript
Label: vulnerable
CWE: CWE-400 \u2014 Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

Code:
h,q,l,p){this.paintTableLine(b,this.line,0,0)};a.prototype.paintTableLine=function(b,h,q,l){if(null!=h){var p=null;b.begin();for(var v=0;v<h.length;v++){var w=h[v];null!=w&&(null==p?b.moveTo(w.x+q,w.y+l):null!=p&&b.lineTo(w.x+q,w.y+l));p=w}b.end();b.stroke()}};a.prototype.intersectsRectangle=function(b){var h=!1;if(mxShape.prototype.intersectsRectangle.apply(this,arguments)&&null!=this.line)for(var q=null,l=0;l<this.line.length&&!h;l++){var p=this.line[l];null!=p&&null!=q&&(h=mxUtils.rectangleIntersectsSegment(b,
q,p));q=p}return h};mxCellRenderer.registerShape("tableLine",a);mxUtils.extend(c,mxSwimlane);c.prototype.getLabelBounds=function(b){return 0==this.getTitleSize()?mxShape.prototype.getLabelBounds.apply(this,arguments):mxSwimlane.prototype.getLabelBounds.apply(this,arguments)};c.prototype.paintVertexShape=function(b,h,q,l,p){var v=null!=this.state?this.state.view.graph.isCellCollapsed(this.state.cell):!1,w=this.isHorizontal(),J=this.getTitleSize();0==J||this.outline?Da.prototype.paintVertexShape.apply(this,