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:
Ka);mxUtils.extend(cb,mxActor);cb.prototype.size=.1;cb.prototype.fixedSize=20;cb.prototype.redrawPath=function(c,l,u,p,t){l="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(p,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):p*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(l,0);c.lineTo(p,0);c.quadTo(p-2*l,t/2,p,t);c.lineTo(l,t);c.quadTo(l-2*l,t/2,l,0);c.close();c.end()};mxCellRenderer.registerShape("dataStorage",cb);