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:
I):ua&&!na?c.lineTo(I,0):ua?"square"==D||"default"==D&&"square"==B?c.lineTo(I,I):"rounded"==D||"default"==D&&"rounded"==B||"snip"==D||"default"==D&&"snip"==B?c.lineTo(ha+.5*I,I):c.lineTo(ha+I,I):c.lineTo(0,I):c.lineTo(0,0)};Na.prototype.paintNEInner=function(c,l,u,p,t,B,D,ha,I){if("rounded"==D||"default"==D&&"rounded"==B)c.arcTo(ha-.5*I,ha-.5*I,0,0,0,p-ha-.5*I,I);else if("invRound"==D||"default"==D&&"invRound"==B)c.arcTo(ha+I,ha+I,0,0,1,p-ha-I,I);else if("snip"==D||"default"==D&&"snip"==B)c.lineTo(p-
ha-.5*I,I);else if("fold"==D||"default"==D&&"fold"==B)c.lineTo(p-ha-I,ha+I),c.lineTo(p-ha-I,I)};Na.prototype.paintRightInner=function(c,l,u,p,t,B,D,ha,I,ua,na){ua||na?!ua&&na?c.lineTo(p-I,0):ua&&!na?c.lineTo(p,I):ua?"square"==D||"default"==D&&"square"==B?c.lineTo(p-I,I):"rounded"==D||"default"==D&&"rounded"==B||"snip"==D||"default"==D&&"snip"==B?c.lineTo(p-I,ha+.5*I):c.lineTo(p-I,ha+I):c.lineTo(p-I,0):c.lineTo(p,0)};Na.prototype.paintLeftInner=function(c,l,u,p,t,B,D,ha,I,ua,na){ua||na?!ua&&na?c.lineTo(I,