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.diffPage=function(b,e){var f=[],c=[],k={};this.updatePageRoot(b);this.updatePageRoot(e);e=this.createCellLookup(e.root);var l=this.diffCellRecursive(b.root,null,e,l,c),u;for(u in e)b=e[u],f.push(this.getJsonForCell(b.cell,b.prev));mxUtils.isEmptyObject(l)||(k[EditorUi.DIFF_UPDATE]=l);0<c.length&&(k[EditorUi.DIFF_REMOVE]=c);0<f.length&&(k[EditorUi.DIFF_INSERT]=f);return k};