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:
"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/
4)},function(B,D){B=null!=v&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?D.x-B.x:Math.max(0,Math.min(c,(D.x-B.x)/B.width*.75));this.state.style.size=B},!1,!0)];mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(pb(n));return t}},ob=function(){return function(c){var m=[];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m}},pb=function(c,m){return hb(c,[mxConstants.STYLE_ARCSIZE],function(v){var n=null!=m?m:v.height/8;if("1"==mxUtils.getValue(c.style,