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:
mxUtils.getValue(this.state.style,"fixedSize","0"),t=parseFloat(mxUtils.getValue(this.state.style,"size",ca.prototype.size));return n?new mxPoint(u.x+t,u.y+u.height/4):new mxPoint(u.x+u.width*t,u.y+u.height/4)},function(u,n){u="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*u.width,n.x-u.x)):Math.max(0,Math.min(.5,(n.x-u.x)/u.width));this.state.style.size=u},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m},cross:function(c){return[hb(c,
["size"],function(m){var u=Math.min(m.width,m.height);u=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",Ua.prototype.size)))*u/2;return new mxPoint(m.getCenterX()-u,m.getCenterY()-u)},function(m,u){var n=Math.min(m.width,m.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,m.getCenterY()-u.y)/n*2,Math.max(0,m.getCenterX()-u.x)/n*2)))})]},note:function(c){return[hb(c,["size"],function(m){var u=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,