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:
c);mxUtils.extend(f,c);f.prototype.paintForeground=function(){};mxCellRenderer.registerShape("tableRow",f);mxUtils.extend(e,mxCylinder);e.prototype.size=20;e.prototype.darkOpacity=0;e.prototype.darkOpacity2=0;e.prototype.paintVertexShape=function(b,h,q,l,p){var v=Math.max(0,Math.min(l,Math.min(p,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),w=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity)))),J=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,
"darkOpacity2",this.darkOpacity2))));b.translate(h,q);b.begin();b.moveTo(0,0);b.lineTo(l-v,0);b.lineTo(l,v);b.lineTo(l,p);b.lineTo(v,p);b.lineTo(0,p-v);b.lineTo(0,0);b.close();b.end();b.fillAndStroke();this.outline||(b.setShadow(!1),0!=w&&(b.setFillAlpha(Math.abs(w)),b.setFillColor(0>w?"#FFFFFF":"#000000"),b.begin(),b.moveTo(0,0),b.lineTo(l-v,0),b.lineTo(l,v),b.lineTo(v,v),b.close(),b.fill()),0!=J&&(b.setFillAlpha(Math.abs(J)),b.setFillColor(0>J?"#FFFFFF":"#000000"),b.begin(),b.moveTo(0,0),b.lineTo(v,
v),b.lineTo(v,p),b.lineTo(0,p-v),b.close(),b.fill()),b.begin(),b.moveTo(v,p),b.lineTo(v,v),b.lineTo(0,0),b.moveTo(v,v),b.lineTo(l,v),b.end(),b.stroke())};e.prototype.getLabelMargins=function(b){return mxUtils.getValue(this.style,"boundedLbl",!1)?(b=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(b,b,0,0)):null};mxCellRenderer.registerShape("cube",e);var Na=Math.tan(mxUtils.toRadians(30)),Sa=(.5-Na)/2;mxCellRenderer.registerShape("isoRectangle",d);mxUtils.extend(g,