Language: JavaScript
Label: vulnerable
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);Q&&(X.style.display="none")}function C(){function W(X){V.push(Q);if(null!=X.replies)for(var Z=0;Z<X.replies.length;Z++)Q=Q.nextSibling,W(X.replies[Z])}var V=[],Q=m;W(N);return{pdiv:Q,replies:V}}function L(W,V,Q,X,Z){function Y(){D(ba);N.addReply(da,function(sa){da.id=sa;N.replies.push(da);K(ba);Q&&Q()},function(sa){aa();A(ba);b.handleError(sa,
null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},X,Z)}function aa(){x(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 m=document.createElement("div");m.className="geCommentContainer";m.setAttribute("data-commentId",N.id);m.style.marginLeft=20*M+5+"px";N.isResolved&&!Editor.isDarkMode()&&(m.style.backgroundColor=