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);window.setTimeout(mxUtils.bind(this,function(){J()}),V)});mxEvent.addListener(S,"click",mxUtils.bind(this,function(v){var B=mxEvent.getSource(v);B!=O&&B!=Q?(null!=k&&k(),J(),mxEvent.consume(v)):m()}));window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(S.style,"transform",A)}),V/2);window.setTimeout(m,p?4E3:3E4);C=!0}return C};EditorUi.prototype.setCurrentFile=function(c){null!=c&&(c.opened=new Date);this.currentFile=c};EditorUi.prototype.getCurrentFile=function(){return this.currentFile};