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:
Graph.prototype.getCommonStyle=function(E){for(var M={},T=0;T<E.length;T++){var F=this.view.getState(E[T]);null!=F&&this.mergeStyle(F.style,M,0==T)}return M};Graph.prototype.mergeStyle=function(E,M,T){if(null!=E){var F={},K;for(K in E){var R=E[K];null!=R&&(F[K]=!0,null==M[K]&&T?M[K]=R:M[K]!=R&&delete M[K])}for(K in M)F[K]||delete M[K]}};Graph.prototype.getStartEditingCell=function(E,M){M=this.getCellStyle(E);M=parseInt(mxUtils.getValue(M,mxConstants.STYLE_STARTSIZE,0));this.isTable(E)&&(!this.isSwimlane(E)||