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:
D.x-C.x),Math.min(C.height,D.y-C.y)))/c)},!1)];u&&mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(pb(n));return t}},gb=function(c,m,u,n,t){u=null!=u?u:.5;return function(C){var D=[hb(C,["size"],function(ha){var I=null!=t?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,ua=parseFloat(mxUtils.getValue(this.state.style,"size",I?t:c));return new mxPoint(ha.x+Math.max(0,Math.min(.5*ha.width,ua*(I?1:ha.width))),ha.getCenterY())},function(ha,I,ua){ha=null!=t&&"0"!=mxUtils.getValue(this.state.style,
"fixedSize","0")?I.x-ha.x:Math.max(0,Math.min(u,(I.x-ha.x)/ha.width));this.state.style.size=ha},!1,n)];m&&mxUtils.getValue(C.style,mxConstants.STYLE_ROUNDED,!1)&&D.push(pb(C));return D}},tb=function(c,m,u){c=null!=c?c:.5;return function(n){var t=[hb(n,["size"],function(C){var D=null!=u?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,ha=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,"size",D?u:m)));return new mxPoint(C.x+Math.min(.75*C.width*c,ha*(D?.75:.75*C.width)),C.y+C.height/