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:
new mxRectangle(0,0,0,Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(m.style,"size",ma.prototype.size))*m.view.scale))),m.style),m,v,n)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=function(c,m,v,n){var t="0"!=mxUtils.getValue(m.style,"fixedSize","0"),B=t?K.prototype.fixedSize:K.prototype.size;null!=m&&(B=mxUtils.getValue(m.style,"size",B));t&&(B*=m.view.scale);var D=c.x,ha=c.y,I=c.width,va=c.height;m=null!=m?mxUtils.getValue(m.style,
mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_NORTH||m==mxConstants.DIRECTION_SOUTH?(t=t?Math.max(0,Math.min(va,B)):va*Math.max(0,Math.min(1,B)),ha=[new mxPoint(D,ha),new mxPoint(D+I,ha+t),new mxPoint(D+I,ha+va),new mxPoint(D,ha+va-t),new mxPoint(D,ha)]):(t=t?Math.max(0,Math.min(.5*I,B)):I*Math.max(0,Math.min(1,B)),ha=[new mxPoint(D+t,ha),new mxPoint(D+I,ha),new mxPoint(D+I-t,ha+va),new mxPoint(D,ha+va),new mxPoint(D+t,ha)]);va=c.getCenterX();
c=c.getCenterY();c=new mxPoint(va,c);n&&(v.x<D||v.x>D+I?c.y=v.y:c.x=v.x);return mxUtils.getPerimeterPoint(ha,c,v)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(c,m,v,n){var t="0"!=mxUtils.getValue(m.style,"fixedSize","0"),B=t?O.prototype.fixedSize:O.prototype.size;null!=m&&(B=mxUtils.getValue(m.style,"size",B));t&&(B*=m.view.scale);var D=c.x,ha=c.y,I=c.width,va=c.height;m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,