Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
0;S<W.length;S++)W[S].parentNode.removeChild(W[S]);U(g);g.style.opacity="0.5"}else{W=A(O).replies;for(S=0;S<W.length;S++)t.removeChild(W[S]);for(S=0;S<P.length;S++)if(P[S]==O){P.splice(S,1);break}y.style.display=0==t.getElementsByTagName("div").length?"block":"none"}},function(S){E(g);b.handleError(S,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})},O.isResolved));c||O.isLocked||0!=H||v(O.isResolved?mxResources.get("reopen"):mxResources.get("resolve"),function(S){function W(){var T=
S.target;T.innerText="";O.isResolved=!O.isResolved;mxUtils.write(T,O.isResolved?mxResources.get("reopen"):mxResources.get("resolve"));for(var X=O.isResolved?"none":"",Z=A(O).replies,Y=Editor.isDarkMode()?"transparent":O.isResolved?"ghostWhite":"white",ba=0;ba<Z.length;ba++){Z[ba].style.backgroundColor=Y;for(var fa=Z[ba].querySelectorAll(".geCommentAction"),ca=0;ca<fa.length;ca++)fa[ca]!=T.parentNode&&(fa[ca].style.display=X);B||(Z[ba].style.display="none")}z()}O.isResolved?I(mxResources.get("reOpened")+