Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
0;W<P.length;W++)P[W].parentNode.removeChild(P[W]);N(m);m.style.opacity="0.5"}else{P=K(q).replies;for(W=0;W<P.length;W++)v.removeChild(P[W]);for(W=0;W<C.length;W++)if(C[W]==q){C.splice(W,1);break}B.style.display=0==v.getElementsByTagName("div").length?"block":"none"}},function(W){z(m);b.handleError(W,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})},q.isResolved));d||q.isLocked||0!=F||S(q.isResolved?mxResources.get("reopen"):mxResources.get("resolve"),function(W){function P(){var V=
W.target;V.innerText="";q.isResolved=!q.isResolved;mxUtils.write(V,q.isResolved?mxResources.get("reopen"):mxResources.get("resolve"));for(var X=q.isResolved?"none":"",Y=K(q).replies,Z=Editor.isDarkMode()?"transparent":q.isResolved?"ghostWhite":"white",da=0;da<Y.length;da++){Y[da].style.backgroundColor=Z;for(var ba=Y[da].querySelectorAll(".geCommentAction"),ma=0;ma<ba.length;ma++)ba[ma]!=V.parentNode&&(ba[ma].style.display=X);G||(Y[da].style.display="none")}x()}q.isResolved?R(mxResources.get("reOpened")+