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