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:
function(b,h,q,l,p){mxEllipse.prototype.paintVertexShape.apply(this,arguments);b.begin();b.moveTo(h+l/2,q+p);b.lineTo(h+l,q+p);b.end();b.stroke()};mxCellRenderer.registerShape("tapeData",X);mxUtils.extend(ia,mxEllipse);ia.prototype.paintVertexShape=function(b,h,q,l,p){mxEllipse.prototype.paintVertexShape.apply(this,arguments);b.setShadow(!1);b.begin();b.moveTo(h,q+p/2);b.lineTo(h+l,q+p/2);b.end();b.stroke();b.begin();b.moveTo(h+l/2,q);b.lineTo(h+l/2,q+p);b.end();b.stroke()};mxCellRenderer.registerShape("orEllipse",