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(){function S(){D(O,g,function(){K(g);O.editComment(O.content,function(){U(g)},function(W){E(g);S();b.handleError(W,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})}S()},O.isResolved),v(mxResources.get("delete"),function(){b.confirm(mxResources.get("areYouSure"),function(){K(g);O.deleteComment(function(S){if(!0===S){S=g.querySelector(".geCommentTxt");S.innerText="";mxUtils.write(S,mxResources.get("msgDeleted"));var W=g.querySelectorAll(".geCommentAction");for(S=