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:
0);l+=B;u+=B;p-=2*B;t-=2*B;0<p&&0<t&&(c.setShadow(!1),ib.apply(this,[c,l,u,p,t]))}};mxUtils.extend(Q,mxRectangleShape);Q.prototype.isHtmlAllowed=function(){return!1};Q.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var l=(Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+l,c.y+l,c.width-2*l,c.height-2*l)}return c};Q.prototype.paintForeground=function(c,l,u,p,t){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var B=
Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);l+=B;u+=B;p-=2*B;t-=2*B;0<p&&0<t&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}c.setDashed(!1);B=0;do{var D=mxCellRenderer.defaultShapes[this.style["symbol"+B]];if(null!=D){var ha=this.style["symbol"+B+"Align"],I=this.style["symbol"+B+"VerticalAlign"],ua=this.style["symbol"+B+"Width"],na=this.style["symbol"+B+"Height"],Za=this.style["symbol"+B+"Spacing"]||0,qb=this.style["symbol"+B+"VSpacing"]||
Za,fb=this.style["symbol"+B+"ArcSpacing"];null!=fb&&(fb*=this.getArcSize(p+this.strokewidth,t+this.strokewidth),Za+=fb,qb+=fb);fb=l;var Ga=u;fb=ha==mxConstants.ALIGN_CENTER?fb+(p-ua)/2:ha==mxConstants.ALIGN_RIGHT?fb+(p-ua-Za):fb+Za;Ga=I==mxConstants.ALIGN_MIDDLE?Ga+(t-na)/2:I==mxConstants.ALIGN_BOTTOM?Ga+(t-na-qb):Ga+qb;c.save();ha=new D;ha.style=this.style;D.prototype.paintVertexShape.call(ha,c,fb,Ga,ua,na);c.restore()}B++}while(null!=D)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};