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:
V.prototype.getLabelBounds=function(c){return new mxRectangle(c.x,c.y+c.height/8,c.width,7*c.height/8)};V.prototype.paintBackground=function(c,l,u,p,t){c.translate(l,u);c.begin();c.moveTo(3*p/8,t/8*1.1);c.lineTo(5*p/8,0);c.end();c.stroke();c.ellipse(0,t/8,p,7*t/8);c.fillAndStroke()};V.prototype.paintForeground=function(c,l,u,p,t){c.begin();c.moveTo(3*p/8,t/8*1.1);c.lineTo(5*p/8,t/4);c.end();c.stroke()};mxCellRenderer.registerShape("umlControl",V);mxUtils.extend(Z,mxRectangleShape);Z.prototype.size=