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:
StorageFile.insertFile=function(b,f,m,d,u){var v=mxUtils.bind(this,function(D){var F=function(){var K=new StorageFile(b,m,f);K.saveFile(f,!1,function(){d(K)},u)};D?b.confirm(mxResources.get("replaceIt",[f]),F,u):F()});StorageFile.getFileContent(b,f,function(D){v(null!=D)},function(){v(!1)})};StorageFile.getFileContent=function(b,f,m,d){b.getDatabaseItem(f,function(u){m(null!=u?u.data:null)},mxUtils.bind(this,function(){null==b.database?b.getLocalData(f,m):null!=d&&d()}),"files")};