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:
function(U,T,W,X,Y,Z){this.passThrough?this.originalRoundrect.apply(this.canvas,arguments):(this.begin(),this.moveTo(U+Y,T),this.lineTo(U+W-Y,T),this.quadTo(U+W,T,U+W,T+Z),this.lineTo(U+W,T+X-Z),this.quadTo(U+W,T+X,U+W-Y,T+X),this.lineTo(U+Y,T+X),this.quadTo(U,T+X,U,T+X-Z),this.lineTo(U,T+Z),this.quadTo(U,T,U+Y,T))};k.prototype.drawPath=function(U){if(0<this.path.length){this.passThrough=!0;try{this.rc.path(this.path.join(" "),U)}catch(W){}this.passThrough=!1}else if(null!=this.nextShape){for(var T in U)this.nextShape.options[T]=
U[T];U.stroke!=mxConstants.NONE&&null!=U.stroke||delete this.nextShape.options.stroke;U.filled||delete this.nextShape.options.fill;this.passThrough=!0;this.rc.draw(this.nextShape);this.passThrough=!1}};k.prototype.stroke=function(){this.passThrough?this.originalStroke.apply(this.canvas,arguments):this.drawPath(this.getStyle(!0,!1))};k.prototype.fill=function(){this.passThrough?this.originalFill.apply(this.canvas,arguments):this.drawPath(this.getStyle(!1,!0))};k.prototype.fillAndStroke=function(){this.passThrough?