Language: JavaScript
Label: safe
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:
t-D/2;c.begin();c.moveTo(m,u);c.lineTo(m,u+t);c.moveTo(m+C,ha);c.lineTo(m+C+D,ha-D/2);c.moveTo(m+C,ha);c.lineTo(m+C+D,ha+D/2);c.moveTo(m+C,ha);c.lineTo(m+n-C,ha);c.moveTo(m+n,u);c.lineTo(m+n,u+t);c.moveTo(m+n-C,ha);c.lineTo(m+n-D-C,ha-D/2);c.moveTo(m+n-C,ha);c.lineTo(m+n-D-C,ha+D/2);c.end();c.stroke()};mxCellRenderer.registerShape("dimension",xa);mxUtils.extend(sa,mxEllipse);sa.prototype.drawHidden=!0;sa.prototype.paintVertexShape=function(c,m,u,n,t){this.outline||c.setStrokeColor(null);if(null!=
this.style){var C=c.pointerEvents,D=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||D||(c.pointerEvents=!1);var ha="1"==mxUtils.getValue(this.style,"top","1"),I="1"==mxUtils.getValue(this.style,"left","1"),ua="1"==mxUtils.getValue(this.style,"right","1"),na="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||D||this.outline||ha||ua||na||I?(c.rect(m,u,n,t),c.fill(),c.pointerEvents=C,c.setStrokeColor(this.stroke),c.setLineCap("square"),
c.begin(),c.moveTo(m,u),this.outline||ha?c.lineTo(m+n,u):c.moveTo(m+n,u),this.outline||ua?c.lineTo(m+n,u+t):c.moveTo(m+n,u+t),this.outline||na?c.lineTo(m,u+t):c.moveTo(m,u+t),(this.outline||I)&&c.lineTo(m,u),c.end(),c.stroke(),c.setLineCap("flat")):c.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",sa);mxUtils.extend(va,mxEllipse);va.prototype.paintVertexShape=function(c,m,u,n,t){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();"vertical"==