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:
ha),c.lineTo(D,ha+l),c.lineTo(u,ha+l),c.moveTo(u,I),c.lineTo(D,I),c.lineTo(D,I+l),c.lineTo(u,I+l)):(c.moveTo(u,0),c.lineTo(p,0),c.lineTo(p,t),c.lineTo(u,t),c.lineTo(u,I+l),c.lineTo(0,I+l),c.lineTo(0,I),c.lineTo(u,I),c.lineTo(u,ha+l),c.lineTo(0,ha+l),c.lineTo(0,ha),c.lineTo(u,ha),c.close());c.end()};mxCellRenderer.registerShape("component",Da);mxUtils.extend(Ba,mxRectangleShape);Ba.prototype.paintForeground=function(c,l,u,p,t){var B=p/2,D=t/2,ha=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,
mxConstants.LINE_ARCSIZE)/2;c.begin();this.addPoints(c,[new mxPoint(l+B,u),new mxPoint(l+p,u+D),new mxPoint(l+B,u+t),new mxPoint(l,u+D)],this.isRounded,ha,!0);c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",Ba);mxUtils.extend(ya,mxDoubleEllipse);ya.prototype.outerStroke=!0;ya.prototype.paintVertexShape=function(c,l,u,p,t){var B=Math.min(4,Math.min(p/5,t/5));0<p&&0<t&&(c.ellipse(l+B,u+B,p-2*B,t-2*B),c.fillAndStroke());c.setShadow(!1);