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:
U.getStatus()&&299>=U.getStatus())try{this.exportFile(U.getText(),G,v,!0,S,N)}catch(P){this.handleError(P)}else this.handleError({message:mxResources.get("errorSavingFile")})}),mxUtils.bind(this,function(P){this.spinner.stop();this.handleError(P)}))})))}}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,!1,B,null,1<F,I,q,v,t);F=this.isServices(F)?4<F?390:280:160;this.showDialog(d.container,420,F,!0,!0);d.init()};EditorUi.prototype.isServices=