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:
D.x-B.x),Math.min(B.height,D.y-B.y)))/c)},!1)];v&&mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(pb(n));return t}},gb=function(c,m,v,n,t){v=null!=v?v:.5;return function(B){var D=[hb(B,["size"],function(ha){var I=null!=t?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,va=parseFloat(mxUtils.getValue(this.state.style,"size",I?t:c));return new mxPoint(ha.x+Math.max(0,Math.min(.5*ha.width,va*(I?1:ha.width))),ha.getCenterY())},function(ha,I,va){ha=null!=t&&"0"!=mxUtils.getValue(this.state.style,
"fixedSize","0")?I.x-ha.x:Math.max(0,Math.min(v,(I.x-ha.x)/ha.width));this.state.style.size=ha},!1,n)];m&&mxUtils.getValue(B.style,mxConstants.STYLE_ROUNDED,!1)&&D.push(pb(B));return D}},tb=function(c,m,v){c=null!=c?c:.5;return function(n){var t=[hb(n,["size"],function(B){var D=null!=v?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,ha=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,"size",D?v:m)));return new mxPoint(B.x+Math.min(.75*B.width*c,ha*(D?.75:.75*B.width)),B.y+B.height/