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.createParentLookup=function(b,e){function f(D){var A=c[D];null==A&&(A={inserted:[],moved:{}},c[D]=A);return A}var c={};if(null!=e[EditorUi.DIFF_INSERT])for(var k=0;k<e[EditorUi.DIFF_INSERT].length;k++){var l=e[EditorUi.DIFF_INSERT][k],u=null!=l.parent?l.parent:"",x=null!=l.previous?l.previous:"";f(u).inserted[x]=l}if(null!=e[EditorUi.DIFF_UPDATE])for(var E in e[EditorUi.DIFF_UPDATE])l=e[EditorUi.DIFF_UPDATE][E],null!=l.previous&&(u=l.parent,null==u&&(k=b.getCell(E),null!=k&&(k=