Language: JavaScript
Label: vulnerable
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:
this.editor.loadUrl(A,mxUtils.bind(this,function(H){z(H)}),mxUtils.bind(this,function(H){null!=k&&k(H)}))}else z("")};EditorUi.prototype.updateDiagram=function(d){function f(Y){var m=new mxCellOverlay(Y.image||z.warningImage,Y.tooltip,Y.align,Y.valign,Y.offset);m.addListener(mxEvent.CLICK,function(C,M){v.alert(Y.tooltip)});return m}var k=null,v=this;if(null!=d&&0<d.length&&(k=mxUtils.parseXml(d),d=null!=k?k.documentElement:null,null!=d&&"updates"==d.nodeName)){var z=this.editor.graph,A=z.getModel();