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:
e.prev.getId():"";null!=e.page.getName()&&b[E].getName()!=e.page.getName()&&(K.name=e.page.getName());mxUtils.isEmptyObject(K)||(u[D]=K)}delete l[b[E].getId()];x=b[E]}for(D in l)e=l[D],f.push({id:e.page.getId(),data:mxUtils.getXml(e.page.node),previous:null!=e.prev?e.prev.getId():""});mxUtils.isEmptyObject(u)||(k[EditorUi.DIFF_UPDATE]=u);0<c.length&&(k[EditorUi.DIFF_REMOVE]=c);0<f.length&&(k[EditorUi.DIFF_INSERT]=f)}return k};