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:
(null!=aa||0<=mxUtils.indexOf(Y,mxUtils.hex2rgb(ka.fill)))?"solid":qa.fillStyle);ka.fillStyle=Y;return ka};l.prototype.begin=function(){this.passThrough?this.originalBegin.apply(this.canvas,arguments):this.path=[]};l.prototype.end=function(){this.passThrough&&this.originalEnd.apply(this.canvas,arguments)};l.prototype.addOp=function(){if(null!=this.path&&(this.path.push(arguments[0]),2<arguments.length))for(var aa=2;aa<arguments.length;aa+=2)this.lastX=arguments[aa-1],this.lastY=arguments[aa],this.path.push(this.canvas.format(this.lastX)),
this.path.push(this.canvas.format(this.lastY))};l.prototype.lineTo=function(aa,Y){this.passThrough?this.originalLineTo.apply(this.canvas,arguments):(this.addOp(this.lineOp,aa,Y),this.lastX=aa,this.lastY=Y)};l.prototype.moveTo=function(aa,Y){this.passThrough?this.originalMoveTo.apply(this.canvas,arguments):(this.addOp(this.moveOp,aa,Y),this.lastX=aa,this.lastY=Y,this.firstX=aa,this.firstY=Y)};l.prototype.close=function(){this.passThrough?this.originalClose.apply(this.canvas,arguments):this.addOp(this.closeOp)};