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:
mxPerimeter.HexagonPerimeter2);mxUtils.extend(ka,mxShape);ka.prototype.size=10;ka.prototype.paintBackground=function(c,l,u,p,t){var B=parseFloat(mxUtils.getValue(this.style,"size",this.size));c.translate(l,u);c.ellipse((p-B)/2,0,B,B);c.fillAndStroke();c.begin();c.moveTo(p/2,B);c.lineTo(p/2,t);c.end();c.stroke()};mxCellRenderer.registerShape("lollipop",ka);mxUtils.extend(qa,mxShape);qa.prototype.size=10;qa.prototype.inset=2;qa.prototype.paintBackground=function(c,l,u,p,t){var B=parseFloat(mxUtils.getValue(this.style,