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:
f.prev.getId():"";null!=f.page.getName()&&b[K].getName()!=f.page.getName()&&(S.name=f.page.getName());mxUtils.isEmptyObject(S)||(D[M]=S)}delete v[b[K].getId()];F=b[K]}for(M in v)f=v[M],m.push({data:mxUtils.getXml(f.page.node),previous:null!=f.prev?f.prev.getId():""});mxUtils.isEmptyObject(D)||(u[EditorUi.DIFF_UPDATE]=D);0<d.length&&(u[EditorUi.DIFF_REMOVE]=d);0<m.length&&(u[EditorUi.DIFF_INSERT]=m)}return u};