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:
[R],"{1} ago"));P.setAttribute("title",N.toLocaleDateString()+" "+N.toLocaleTimeString())}function D(N){var P=document.createElement("img");P.className="geCommentBusyImg";P.src=IMAGE_PATH+"/spin.gif";N.appendChild(P);N.busyImg=P}function A(N){N.style.border="1px solid red";N.removeChild(N.busyImg)}function K(N){N.style.border="";N.removeChild(N.busyImg)}function H(N,P,R,M,p){function y(W,V,Q){var X=document.createElement("li");X.className="geCommentAction";var Z=document.createElement("a");Z.className=
"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,