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:
mxShape);W.prototype.getLabelBounds=function(b){return new mxRectangle(b.x,b.y+b.height/8,b.width,7*b.height/8)};W.prototype.paintBackground=function(b,h,q,l,p){b.translate(h,q);b.begin();b.moveTo(3*l/8,p/8*1.1);b.lineTo(5*l/8,0);b.end();b.stroke();b.ellipse(0,p/8,l,7*p/8);b.fillAndStroke()};W.prototype.paintForeground=function(b,h,q,l,p){b.begin();b.moveTo(3*l/8,p/8*1.1);b.lineTo(5*l/8,p/4);b.end();b.stroke()};mxCellRenderer.registerShape("umlControl",W);mxUtils.extend(Z,mxRectangleShape);Z.prototype.size=