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:
c.begin();c.moveTo(l+p/2,u+t);c.lineTo(l+p,u+t);c.end();c.stroke()};mxCellRenderer.registerShape("tapeData",P);mxUtils.extend(X,mxEllipse);X.prototype.paintVertexShape=function(c,l,u,p,t){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(l,u+t/2);c.lineTo(l+p,u+t/2);c.end();c.stroke();c.begin();c.moveTo(l+p/2,u);c.lineTo(l+p/2,u+t);c.end();c.stroke()};mxCellRenderer.registerShape("orEllipse",X);mxUtils.extend(ea,mxEllipse);ea.prototype.paintVertexShape=