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:
0),!1,null,0,u-p));return c};Ka.prototype.getConstraints=function(c,l,u){c=[];var p=u*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",La.prototype.arrowWidth)))),t=l*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",La.prototype.arrowSize))));p=(u-p)/2;c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*l,p));c.push(new mxConnectionConstraint(new mxPoint(0,
0),!1,null,l-t,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,l-t,u));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*l,u-p));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));return c};Ua.prototype.getConstraints=function(c,l,u){c=[];var p=Math.min(u,l),t=Math.max(0,Math.min(p,p*parseFloat(mxUtils.getValue(this.style,"size",this.size))));p=(u-t)/2;var B=p+t,D=(l-t)/2;t=D+t;c.push(new mxConnectionConstraint(new mxPoint(0,