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,W);X.appendChild(Z);mxEvent.addListener(Z,"click",function(Y){V(Y,N);Y.preventDefault();mxEvent.consume(Y)});T.appendChild(X);S&&(X.style.display="none")}function C(){function W(X){V.push(S);if(null!=X.replies)for(var Z=0;Z<X.replies.length;Z++)S=S.nextSibling,W(X.replies[Z])}var V=[],S=l;W(N);return{pdiv:S,replies:V}}function K(W,V,S,X,Z){function Y(){D(ba);N.addReply(da,function(sa){da.id=sa;N.replies.push(da);L(ba);S&&S()},function(sa){aa();A(ba);b.handleError(sa,
null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},X,Z)}function aa(){v(da,ba,function(sa){Y()},!0)}var ca=C().pdiv,da=b.newComment(W,b.getCurrentUser());da.pCommentId=N.id;null==N.replies&&(N.replies=[]);var ba=H(da,N.replies,ca,M+1);V?aa():Y()}if(p||!N.isResolved){B.style.display="none";var l=document.createElement("div");l.className="geCommentContainer";l.setAttribute("data-commentId",N.id);l.style.marginLeft=20*M+5+"px";N.isResolved&&!Editor.isDarkMode()&&(l.style.backgroundColor=