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:
ea);mxUtils.extend(ka,mxEllipse);ka.prototype.paintVertexShape=function(b,h,q,l,p){mxEllipse.prototype.paintVertexShape.apply(this,arguments);b.begin();b.moveTo(h+l/8,q+p);b.lineTo(h+7*l/8,q+p);b.end();b.stroke()};mxCellRenderer.registerShape("umlEntity",ka);mxUtils.extend(wa,mxShape);wa.prototype.paintVertexShape=function(b,h,q,l,p){b.translate(h,q);b.begin();b.moveTo(l,0);b.lineTo(0,p);b.moveTo(0,0);b.lineTo(l,p);b.end();b.stroke()};mxCellRenderer.registerShape("umlDestroy",wa);mxUtils.extend(W,