Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
function(){function V(){F(n,g,function(){M(g);n.editComment(n.content,function(){S(g)},function(R){G(g);V();b.handleError(R,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})}V()},n.isResolved),Q(mxResources.get("delete"),function(){b.confirm(mxResources.get("areYouSure"),function(){M(g);n.deleteComment(function(V){if(!0===V){V=g.querySelector(".geCommentTxt");V.innerText="";mxUtils.write(V,mxResources.get("msgDeleted"));var R=g.querySelectorAll(".geCommentAction");for(V=