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:
a.getId()),n);return n};m.rotatedEdgePoint=function(c,a,b,d){a=a*Math.PI/180;var f=Math.cos(a);a=Math.sin(a);var k=c.x-b,p=c.y-d;c.x=Math.round(k*f-p*a+b);c.y=Math.round(p*f+k*a+d)};m.prototype.addVertex=function(c,a,b,d,f){var k="",p=a.isDisplacedLabel()||a.isRotatedLabel();p||(k=a.getTextLabel());var n=a.getDimensions(),x=a.getStyleFromShape();x.html="1";var A=x.hasOwnProperty(mxConstants.STYLE_SHAPE)||x.hasOwnProperty("stencil");x.hasOwnProperty(mxConstants.STYLE_FILLCOLOR)&&A||(x[mxConstants.STYLE_FILLCOLOR]=