Language: JavaScript
Label: vulnerable
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
!1;l.connectionHandler.createEdgeState=function(n){n=l.createEdge(null,null,null,null,null,u);return new mxCellState(this.graph.view,n,this.graph.getCellStyle(n))};var x=l.getDefaultParent(),E=mxUtils.bind(this,function(n){var q=new mxCellOverlay(this.connectImage,"Add outgoing");q.cursor="hand";q.addListener(mxEvent.CLICK,function(t,v){l.connectionHandler.reset();l.clearSelection();var B=l.getCellGeometry(n),F;K(function(){F=l.insertVertex(x,null,"Entry",B.x,B.y,80,30,"rounded=1;");E(F);l.view.refresh(F);