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:
"geCommentActionLnk";mxUtils.write(Z,S);X.appendChild(Z);mxEvent.addListener(Z,"click",function(Y){W(Y,O);Y.preventDefault();mxEvent.consume(Y)});Q.appendChild(X);T&&(X.style.display="none")}function A(){function S(X){W.push(T);if(null!=X.replies)for(var Z=0;Z<X.replies.length;Z++)T=T.nextSibling,S(X.replies[Z])}var W=[],T=g;S(O);return{pdiv:T,replies:W}}function I(S,W,T,X,Z){function Y(){K(aa);O.addReply(ca,function(ra){ca.id=ra;O.replies.push(ca);U(aa);T&&T()},function(ra){ba();E(aa);b.handleError(ra,
null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},X,Z)}function ba(){D(ca,aa,function(ra){Y()},!0)}var fa=A().pdiv,ca=b.newComment(S,b.getCurrentUser());ca.pCommentId=O.id;null==O.replies&&(O.replies=[]);var aa=J(ca,O.replies,fa,H+1);W?ba():Y()}if(m||!O.isResolved){y.style.display="none";var g=document.createElement("div");g.className="geCommentContainer";g.setAttribute("data-commentId",O.id);g.style.marginLeft=20*H+5+"px";O.isResolved&&!Editor.isDarkMode()&&(g.style.backgroundColor=