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:
delete p.cells[t]}}),e(EditorUi.DIFF_INSERT),e(EditorUi.DIFF_UPDATE),mxUtils.isEmptyObject(p.cells)&&delete p.cells);mxUtils.isEmptyObject(p)&&delete c[EditorUi.DIFF_UPDATE][q]}mxUtils.isEmptyObject(c[EditorUi.DIFF_UPDATE])&&delete c[EditorUi.DIFF_UPDATE]}return c};EditorUi.prototype.anonymizeAttributes=function(c,e){if(null!=c.attributes)for(var k=0;k<c.attributes.length;k++)"as"!=c.attributes[k].name&&c.setAttribute(c.attributes[k].name,this.anonymizeString(c.attributes[k].value,e));if(null!=c.childNodes)for(k=
0;k<c.childNodes.length;k++)this.anonymizeAttributes(c.childNodes[k],e)};EditorUi.prototype.anonymizeNode=function(c,e){e=c.getElementsByTagName("mxCell");for(var k=0;k<e.length;k++)null!=e[k].getAttribute("value")&&e[k].setAttribute("value","["+e[k].getAttribute("value").length+"]"),null!=e[k].getAttribute("xmlValue")&&e[k].setAttribute("xmlValue","["+e[k].getAttribute("xmlValue").length+"]"),null!=e[k].getAttribute("style")&&e[k].setAttribute("style","["+e[k].getAttribute("style").length+"]"),null!=