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:
mxUtils.write(U,mxResources.get("timeAgo",[I],"{1} ago"));U.setAttribute("title",ja.toLocaleDateString()+" "+ja.toLocaleTimeString())}function g(ja){var U=document.createElement("img");U.className="geCommentBusyImg";U.src=IMAGE_PATH+"/spin.gif";ja.appendChild(U);ja.busyImg=U}function l(ja){ja.style.border="1px solid red";ja.removeChild(ja.busyImg)}function q(ja){ja.style.border="";ja.removeChild(ja.busyImg)}function y(ja,U,I,V,Q){function R(S,P,Z){var oa=document.createElement("li");oa.className=
"geCommentAction";var va=document.createElement("a");va.className="geCommentActionLnk";mxUtils.write(va,S);oa.appendChild(va);mxEvent.addListener(va,"click",function(Aa){P(Aa,ja);Aa.preventDefault();mxEvent.consume(Aa)});W.appendChild(oa);Z&&(oa.style.display="none")}function fa(){function S(oa){P.push(Z);if(null!=oa.replies)for(var va=0;va<oa.replies.length;va++)Z=Z.nextSibling,S(oa.replies[va])}var P=[],Z=ra;S(ja);return{pdiv:Z,replies:P}}function la(S,P,Z,oa,va){function Aa(){g(Na);ja.addReply(ta,