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:
R);mxUtils.extend(W,mxShape);W.prototype.size=15;W.prototype.paintVertexShape=function(c,l,u,p,t){var B=Math.max(0,Math.min(.5*t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.translate(l,u);0==B?(c.rect(0,0,p,t),c.fillAndStroke()):(c.begin(),c.moveTo(0,B),c.arcTo(.5*p,B,0,0,1,.5*p,0),c.arcTo(.5*p,B,0,0,1,p,B),c.lineTo(p,t-B),c.arcTo(.5*p,B,0,0,1,.5*p,t),c.arcTo(.5*p,B,0,0,1,0,t-B),c.close(),c.fillAndStroke(),c.setShadow(!1),c.begin(),c.moveTo(p,B),c.arcTo(.5*p,B,0,0,1,.5*p,2*B),c.arcTo(.5*
p,B,0,0,1,0,B),c.stroke())};mxCellRenderer.registerShape("cylinder2",W);mxUtils.extend(d,mxCylinder);d.prototype.size=15;d.prototype.paintVertexShape=function(c,l,u,p,t){var B=Math.max(0,Math.min(.5*t,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),D=mxUtils.getValue(this.style,"lid",!0);c.translate(l,u);0==B?(c.rect(0,0,p,t),c.fillAndStroke()):(c.begin(),D?(c.moveTo(0,B),c.arcTo(.5*p,B,0,0,1,.5*p,0),c.arcTo(.5*p,B,0,0,1,p,B)):(c.moveTo(0,0),c.arcTo(.5*p,B,0,0,0,.5*p,B),c.arcTo(.5*p,B,