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:
!1;l.connectionHandler.createEdgeState=function(n){n=l.createEdge(null,null,null,null,null,x);return new mxCellState(this.graph.view,n,this.graph.getCellStyle(n))};var y=l.getDefaultParent(),E=mxUtils.bind(this,function(n){var t=new mxCellOverlay(this.connectImage,"Add outgoing");t.cursor="hand";t.addListener(mxEvent.CLICK,function(u,v){l.connectionHandler.reset();l.clearSelection();var A=l.getCellGeometry(n),H;M(function(){H=l.insertVertex(y,null,"Entry",A.x,A.y,80,30,"rounded=1;");E(H);l.view.refresh(H);