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:
u,p,B):(D=this.state.view.graph.cellRenderer.getShape(D),null!=D&&D!=Z&&(D=new D,D.apply(this.state),c.save(),D.paintVertexShape(c,l,u,p,B),c.restore()));B<t&&(c.setDashed("1"==mxUtils.getValue(this.style,"lifelineDashed","1")),c.begin(),c.moveTo(l+p/2,u+B),c.lineTo(l+p/2,u+t),c.end(),c.stroke())};Z.prototype.paintForeground=function(c,l,u,p,t){var B=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));mxRectangleShape.prototype.paintForeground.call(this,c,l,u,p,Math.min(t,
B))};mxCellRenderer.registerShape("umlLifeline",Z);mxUtils.extend(aa,mxShape);aa.prototype.width=60;aa.prototype.height=30;aa.prototype.corner=10;aa.prototype.configurePointerEvents=function(c){var l=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);null==this.style||null!=l&&l!=mxConstants.NONE&&0!=this.opacity&&0!=this.fillOpacity||"0"!=mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||(c.pointerEvents=!1)};aa.prototype.getLabelMargins=function(c){return new mxRectangle(0,