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;V<R.length;V++)R[V].parentNode.removeChild(R[V]);S(g);g.style.opacity="0.5"}else{R=L(n).replies;for(V=0;V<R.length;V++)t.removeChild(R[V]);for(V=0;V<z.length;V++)if(z[V]==n){z.splice(V,1);break}x.style.display=0==t.getElementsByTagName("div").length?"block":"none"}},function(V){G(g);b.handleError(V,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})},n.isResolved));c||n.isLocked||0!=A||Q(n.isResolved?mxResources.get("reopen"):mxResources.get("resolve"),function(V){function R(){var W=
V.target;W.innerText="";n.isResolved=!n.isResolved;mxUtils.write(W,n.isResolved?mxResources.get("reopen"):mxResources.get("resolve"));for(var X=n.isResolved?"none":"",Z=L(n).replies,Y=Editor.isDarkMode()?"transparent":n.isResolved?"ghostWhite":"white",ea=0;ea<Z.length;ea++){Z[ea].style.backgroundColor=Y;for(var fa=Z[ea].querySelectorAll(".geCommentAction"),na=0;na<fa.length;na++)fa[na]!=W.parentNode&&(fa[na].style.display=X);B||(Z[ea].style.display="none")}D()}n.isResolved?U(mxResources.get("reOpened")+