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:
[Q],"{1} ago"));O.setAttribute("title",N.toLocaleDateString()+" "+N.toLocaleTimeString())}function K(N){var O=document.createElement("img");O.className="geCommentBusyImg";O.src=IMAGE_PATH+"/spin.gif";N.appendChild(O);N.busyImg=O}function E(N){N.style.border="1px solid red";N.removeChild(N.busyImg)}function R(N){N.style.border="";N.removeChild(N.busyImg)}function I(N,O,Q,J,m){function v(T,W,U){var X=document.createElement("li");X.className="geCommentAction";var Z=document.createElement("a");Z.className=
"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,