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:
n);var Ra=Math.tan(mxUtils.toRadians(30)),db=(.5-Ra)/2;mxCellRenderer.registerShape("isoRectangle",E);mxUtils.extend(y,mxConnector);y.prototype.paintEdgeShape=function(c,l){var u=this.createMarker(c,l,!0),p=this.createMarker(c,l,!1);c.setDashed(!1);mxPolyline.prototype.paintEdgeShape.apply(this,arguments);null!=this.isDashed&&c.setDashed(this.isDashed,null!=this.style?1==mxUtils.getValue(this.style,mxConstants.STYLE_FIX_DASH,!1):!1);c.setShadow(!1);c.setStrokeColor(this.fill);mxPolyline.prototype.paintEdgeShape.apply(this,
arguments);c.setStrokeColor(this.stroke);c.setFillColor(this.stroke);c.setDashed(!1);null!=u&&u();null!=p&&p()};mxCellRenderer.registerShape("wire",y);mxUtils.extend(q,mxCylinder);q.prototype.size=6;q.prototype.paintVertexShape=function(c,l,u,p,t){c.setFillColor(this.stroke);var B=Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size))-2)+2*this.strokewidth;c.ellipse(l+.5*(p-B),u+.5*(t-B),B,B);c.fill();c.setFillColor(mxConstants.NONE);c.rect(l,u,p,t);c.fill()};mxCellRenderer.registerShape("waypoint",