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:
function(O){mxEvent.isConsumed(O)||((mxEvent.isControlDown(O)||mxClient.IS_MAC&&mxEvent.isMetaDown(O))&&13==O.keyCode?(J.click(),mxEvent.consume(O)):27==O.keyCode&&(z.click(),mxEvent.consume(O)))}));J.focus();J.className="geCommentEditBtn gePrimaryBtn";m.appendChild(J);P.insertBefore(m,y);C.style.display="none";y.style.display="none";L.focus()}function E(N,P){P.innerText="";N=new Date(N.modifiedDate);var R=b.timeSince(N);null==R&&(R=mxResources.get("lessThanAMinute"));mxUtils.write(P,mxResources.get("timeAgo",
[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=