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:
"keydown",mxUtils.bind(this,function(X){mxEvent.isConsumed(X)||((mxEvent.isControlDown(X)||mxClient.IS_MAC&&mxEvent.isMetaDown(X))&&13==X.keyCode?(N.click(),mxEvent.consume(X)):27==X.keyCode&&(A.click(),mxEvent.consume(X)))}));N.focus();N.className="geCommentEditBtn gePrimaryBtn";l.appendChild(N);ja.insertBefore(l,da);P.style.display="none";da.style.display="none";V.focus()}function T(ca,ja){ja.innerText="";ca=new Date(ca.modifiedDate);var ma=b.timeSince(ca);null==ma&&(ma=mxResources.get("lessThanAMinute"));
mxUtils.write(ja,mxResources.get("timeAgo",[ma],"{1} ago"));ja.setAttribute("title",ca.toLocaleDateString()+" "+ca.toLocaleTimeString())}function G(ca){var ja=document.createElement("img");ja.className="geCommentBusyImg";ja.src=IMAGE_PATH+"/spin.gif";ca.appendChild(ja);ca.busyImg=ja}function M(ca){ca.style.border="1px solid red";ca.removeChild(ca.busyImg)}function R(ca){ca.style.border="";ca.removeChild(ca.busyImg)}function W(ca,ja,ma,aa,S){function da(Z,ba,ia){var qa=document.createElement("li");