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:
mxUtils.extend(Ca,mxActor);Ca.prototype.redrawPath=function(c,l,u,p,t){c.moveTo(0,0);c.quadTo(p,0,p,t/2);c.quadTo(p,t,0,t);c.close();c.end()};mxCellRenderer.registerShape("or",Ca);mxUtils.extend(Ma,mxActor);Ma.prototype.redrawPath=function(c,l,u,p,t){c.moveTo(0,0);c.quadTo(p,0,p,t/2);c.quadTo(p,t,0,t);c.quadTo(p/2,t/2,0,0);c.close();c.end()};mxCellRenderer.registerShape("xor",Ma);mxUtils.extend(x,mxActor);x.prototype.size=20;x.prototype.isRoundable=function(){return!0};x.prototype.redrawPath=function(c,