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:
"arrowSize"],function(u){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",La.prototype.arrowWidth))),t=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",La.prototype.arrowSize)));return new mxPoint(u.x+(1-t)*u.width,u.y+(1-n)*u.height/2)},function(u,n){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(u.y+u.height/2-n.y)/u.height*2));this.state.style.arrowSize=Math.max(0,Math.min(c,(u.x+u.width-n.x)/u.width))})]}},nb=function(c){return function(m){return[hb(m,
["size"],function(u){var n=Math.max(0,Math.min(.5*u.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(u.x,u.y+n)},function(u,n){this.state.style.size=Math.max(0,n.y-u.y)},!0)]}},ub=function(c,m,u){return function(n){var t=[hb(n,["size"],function(C){var D=Math.max(0,Math.min(C.width,Math.min(C.height,parseFloat(mxUtils.getValue(this.state.style,"size",m)))))*c;return new mxPoint(C.x+D,C.y+D)},function(C,D){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(C.width,