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:
G.prototype.size=.5;G.prototype.redrawPath=function(c,l,u,p,t){c.setFillColor(null);l=p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));u=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(p,0),new mxPoint(l,0),new mxPoint(l,t/2),new mxPoint(0,t/2),new mxPoint(l,t/2),new mxPoint(l,t),new mxPoint(p,t)],this.isRounded,u,!1);c.end()};mxCellRenderer.registerShape("curlyBracket",G);mxUtils.extend(ja,mxActor);