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:
function(C){x.stop();null!=this.exportDialog&&null!=this.exportDialog.parentNode&&(this.exportDialog.parentNode.removeChild(this.exportDialog),this.exportDialog=null);this.handleError(C)}),null,null,null,null,null,null,null,Editor.defaultBorder)}mxEvent.consume(q)}),Editor.cameraImage,mxResources.get("export"))}};EditorUi.prototype.saveData=function(c,e,k,q,p){this.isLocalFileSave()?this.saveLocalFile(k,c,q,p,e):this.saveRequest(c,e,mxUtils.bind(this,function(t,x){return this.createEchoRequest(k,
t,q,p,e,x)}),k,p,q)};EditorUi.prototype.saveRequest=function(c,e,k,q,p,t,x){x=null!=x?x:!mxClient.IS_IOS||!navigator.standalone;var C=this.getServiceCount(!1);isLocalStorage&&C++;var I=4>=C?2:6<C?4:3;c=new CreateDialog(this,c,mxUtils.bind(this,function(B,T){if("_blank"==T||null!=B&&0<B.length){var l=k("_blank"==T?null:B,T==App.MODE_DEVICE||"download"==T||null==T||"_blank"==T?"0":"1");null!=l&&(T==App.MODE_DEVICE||"download"==T||"_blank"==T?l.simulate(document,"_blank"):this.pickFolder(T,mxUtils.bind(this,