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