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:
y.cellEditor.stopEditing=function(P,V){try{ma.apply(this,arguments),ca()}catch(l){p.handleError(l)}};y.container.setAttribute("tabindex","0");y.container.style.cursor="default";if(window.self===window.top&&null!=y.container.parentNode)try{y.container.focus()}catch(P){}var aa=y.fireMouseEvent;y.fireMouseEvent=function(P,V,l){try{P==mxEvent.MOUSE_DOWN&&this.container.focus(),aa.apply(this,arguments)}catch(A){p.handleError(A)}};var S=y.foldCells;y.foldCells=function(P,V,l,A,N){try{S.apply(this,arguments)}catch(X){p.handleError(X)}};