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:
qa.className="geCommentAction";var ra=document.createElement("a");ra.className="geCommentActionLnk";mxUtils.write(ra,Z);qa.appendChild(ra);mxEvent.addListener(ra,"click",function(pa){ba(pa,ca);pa.preventDefault();mxEvent.consume(pa)});U.appendChild(qa);ia&&(qa.style.display="none")}function P(){function Z(qa){ba.push(ia);if(null!=qa.replies)for(var ra=0;ra<qa.replies.length;ra++)ia=ia.nextSibling,Z(qa.replies[ra])}var ba=[],ia=l;Z(ca);return{pdiv:ia,replies:ba}}function V(Z,ba,ia,qa,ra){function pa(){G(za);
ca.addReply(Aa,function(Ma){Aa.id=Ma;ca.replies.push(Aa);R(za);ia&&ia()},function(Ma){xa();M(za);b.handleError(Ma,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},qa,ra)}function xa(){L(Aa,za,function(Ma){pa()},!0)}var Ca=P().pdiv,Aa=b.newComment(Z,b.getCurrentUser());Aa.pCommentId=ca.id;null==ca.replies&&(ca.replies=[]);var za=W(Aa,ca.replies,Ca,aa+1);ba?xa():pa()}if(S||!ca.isResolved){F.style.display="none";var l=document.createElement("div");l.className="geCommentContainer";