Language: JavaScript
Label: vulnerable
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:
EditorUi.prototype.diffCellRecursive=function(b,e,f,c,k){c=null!=c?c:{};var l=f[b.getId()];delete f[b.getId()];if(null==l)k.push(b.getId());else{var u=this.diffCell(b,l.cell);if(null!=u.parent||(null!=l.prev?null==e:null!=e)||null!=e&&null!=l.prev&&e.getId()!=l.prev.getId())u.previous=null!=l.prev?l.prev.getId():"";mxUtils.isEmptyObject(u)||(c[b.getId()]=u)}l=b.getChildCount();e=null;for(u=0;u<l;u++){var x=b.getChildAt(u);this.diffCellRecursive(x,e,f,c,k);e=x}return c};