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:
["size"],function(v){var n=Math.max(0,Math.min(.5*v.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(v.x,v.y+n)},function(v,n){this.state.style.size=Math.max(0,n.y-v.y)},!0)]}},ub=function(c,m,v){return function(n){var t=[hb(n,["size"],function(B){var D=Math.max(0,Math.min(B.width,Math.min(B.height,parseFloat(mxUtils.getValue(this.state.style,"size",m)))))*c;return new mxPoint(B.x+D,B.y+D)},function(B,D){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(B.width,
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,