Language: JavaScript
Label: safe
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(M){mxEvent.isConsumed(M)||((mxEvent.isControlDown(M)||mxClient.IS_MAC&&mxEvent.isMetaDown(M))&&13==M.keyCode?(F.click(),mxEvent.consume(M)):27==M.keyCode&&(x.click(),mxEvent.consume(M)))}));F.focus();F.className="geCommentEditBtn gePrimaryBtn";g.appendChild(F);P.insertBefore(g,v);A.style.display="none";v.style.display="none";I.focus()}function L(O,P){P.innerText="";O=new Date(O.modifiedDate);var N=b.timeSince(O);null==N&&(N=mxResources.get("lessThanAMinute"));mxUtils.write(P,mxResources.get("timeAgo",
[N],"{1} ago"));P.setAttribute("title",O.toLocaleDateString()+" "+O.toLocaleTimeString())}function K(O){var P=document.createElement("img");P.className="geCommentBusyImg";P.src=IMAGE_PATH+"/spin.gif";O.appendChild(P);O.busyImg=P}function E(O){O.style.border="1px solid red";O.removeChild(O.busyImg)}function U(O){O.style.border="";O.removeChild(O.busyImg)}function J(O,P,N,H,m){function v(S,W,T){var X=document.createElement("li");X.className="geCommentAction";var Z=document.createElement("a");Z.className=