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