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:
!0);T(qa)}oa!=g.currentPage&&g.selectPage(oa,!0);g.editor.graph.setSelectionCells(W)}}else{T=g.editor.graph;var sa=m(T);N.Page1=x(T,sa);I(T,"Page1");J(L,1);ha.Page1=sa}y(L,V);C(L,N,Q,ha);H=function(){L.generateAsync({type:"base64"}).then(function(Fa){g.spinner.stop();var ka=g.getBaseFilename();g.saveData(ka+".vsdx","vsdx",Fa,"application/vnd.visio2013",!0)})};0<K.filesLoading?K.onFilesLoaded=H:H()}return!0}catch(Fa){return console.log(Fa),g.spinner.stop(),!1}}}