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:
mxCylinder);k.prototype.tabWidth=60;k.prototype.tabHeight=20;k.prototype.tabPosition="right";k.prototype.arcSize=.1;k.prototype.paintVertexShape=function(c,l,u,p,t){c.translate(l,u);l=Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth))));u=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));var B=mxUtils.getValue(this.style,"tabPosition",this.tabPosition),D=mxUtils.getValue(this.style,"rounded",!1),ha=mxUtils.getValue(this.style,
"absoluteArcSize",!1),I=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));ha||(I*=Math.min(p,t));I=Math.min(I,.5*p,.5*(t-u));l=Math.max(l,I);l=Math.min(p-I,l);D||(I=0);c.begin();"left"==B?(c.moveTo(Math.max(I,0),u),c.lineTo(Math.max(I,0),0),c.lineTo(l,0),c.lineTo(l,u)):(c.moveTo(p-l,u),c.lineTo(p-l,0),c.lineTo(p-Math.max(I,0),0),c.lineTo(p-Math.max(I,0),u));D?(c.moveTo(0,I+u),c.arcTo(I,I,0,0,1,I,u),c.lineTo(p-I,u),c.arcTo(I,I,0,0,1,p,I+u),c.lineTo(p,t-I),c.arcTo(I,I,0,0,1,p-I,t),c.lineTo(I,
t),c.arcTo(I,I,0,0,1,0,t-I)):(c.moveTo(0,u),c.lineTo(p,u),c.lineTo(p,t),c.lineTo(0,t));c.close();c.fillAndStroke();c.setShadow(!1);"triangle"==mxUtils.getValue(this.style,"folderSymbol",null)&&(c.begin(),c.moveTo(p-30,u+20),c.lineTo(p-20,u+10),c.lineTo(p-10,u+20),c.close(),c.stroke())};mxCellRenderer.registerShape("folder",k);k.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var l=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,