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:
this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(u.width,2*(u.x+u.width-n.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(u.width-n.x+u.x)/Math.min(u.width,u.height))))})},hb=function(c,m,u,n,t,C,D){var ha=new mxHandle(c,null,mxVertexHandler.prototype.secondaryHandleImage);ha.execute=function(ua){for(var na=0;na<m.length;na++)this.copyStyle(m[na]);D&&D(ua)};ha.getPosition=u;ha.setPosition=n;ha.ignoreGrid=null!=t?t:!0;if(C){var I=ha.positionChanged;