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:
p,u+t/2);c.end();c.stroke()};mxCellRenderer.registerShape("sortShape",la);mxUtils.extend(oa,mxEllipse);oa.prototype.paintVertexShape=function(c,l,u,p,t){c.begin();c.moveTo(l,u);c.lineTo(l+p,u);c.lineTo(l+p/2,u+t/2);c.close();c.fillAndStroke();c.begin();c.moveTo(l,u+t);c.lineTo(l+p,u+t);c.lineTo(l+p/2,u+t/2);c.close();c.fillAndStroke()};mxCellRenderer.registerShape("collate",oa);mxUtils.extend(xa,mxEllipse);xa.prototype.paintVertexShape=function(c,l,u,p,t){var B=c.state.strokeWidth/2,D=10+2*B,ha=u+