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:
mxConstants.DIRECTION_NORTH);ca.intraCellSpacing=V;ca.parallelEdgeSpacing=P;ca.interRankCellSpacing=U;ca.disableEdgeStyle=!1;this.executeLayout(function(){ca.execute(z.getDefaultParent(),ta);z.moveCells(ta,J,T)},!0,n);n=null}else if("organic"==O||"auto"==O&&ta.length>p.length){z.view.validate();var ba=new mxFastOrganicLayout(z);ba.forceConstant=3*V;ba.disableEdgeStyle=!1;ba.resetEdges=!1;var ja=ba.isVertexIgnored;ba.isVertexIgnored=function(ia){return ja.apply(this,arguments)||0>mxUtils.indexOf(p,
ia)};this.executeLayout(function(){ba.execute(z.getDefaultParent());ya()},!0,n);n=null}}this.hideDialog()}finally{z.model.endUpdate()}null!=n&&n()}}catch(ia){this.handleError(ia)}};EditorUi.prototype.getSearch=function(c){var e="";if("1"!=urlParams.offline&&"1"!=urlParams.demo&&null!=c&&0<window.location.search.length){var g="?",k;for(k in urlParams)0>mxUtils.indexOf(c,k)&&null!=urlParams[k]&&(e+=g+k+"="+urlParams[k],g="&")}else e=window.location.search;return e};EditorUi.prototype.getUrl=function(c){c=