Language: JavaScript
Label: vulnerable
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
B)c.lineTo(n-I,t-ha-.5*I);else if("fold"==D||"default"==D&&"fold"==B)c.lineTo(n-ha-I,t-ha-I),c.lineTo(n-I,t-ha-I)};Na.prototype.paintBottomInner=function(c,m,v,n,t,B,D,ha,I,va,na){va||na?!va&&na?c.lineTo(n,t-I):va&&!na?c.lineTo(n-I,t):"square"==D||"default"==D&&"square"==B||!va?c.lineTo(n-I,t-I):"rounded"==D||"default"==D&&"rounded"==B||"snip"==D||"default"==D&&"snip"==B?c.lineTo(n-ha-.5*I,t-I):c.lineTo(n-ha-I,t-I):c.lineTo(n,t)};Na.prototype.paintSWInner=function(c,m,v,n,t,B,D,ha,I,va){if(!va)c.lineTo(I,
t);else if("square"==D||"default"==D&&"square"==B)c.lineTo(I,t-I);else if("rounded"==D||"default"==D&&"rounded"==B)c.arcTo(ha-.5*I,ha-.5*I,0,0,0,ha+.5*I,t-I);else if("invRound"==D||"default"==D&&"invRound"==B)c.arcTo(ha+I,ha+I,0,0,1,ha+I,t-I);else if("snip"==D||"default"==D&&"snip"==B)c.lineTo(ha+.5*I,t-I);else if("fold"==D||"default"==D&&"fold"==B)c.lineTo(I+ha,t-ha-I),c.lineTo(I+ha,t-I)};Na.prototype.moveSWInner=function(c,m,v,n,t,B,D,ha,I,va){va?"square"==D||"default"==D&&"square"==B?c.moveTo(I,