Language: JavaScript
Label: safe
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:
Math.max(1,Math.min(ia,Math.max(parseInt(Ca.value),parseInt(xa.value))));xa.value=Math.max(1,Math.min(ia,Math.min(parseInt(Ca.value),parseInt(xa.value))))}function X(Y){function fa(Pa,eb,jb,ib){var mb=Pa.useCssTransforms,wb=Pa.currentTranslate,xb=Pa.currentScale,rb=Pa.view.translate,nb=Pa.view.scale;Pa.useCssTransforms&&(Pa.useCssTransforms=!1,Pa.currentTranslate=new mxPoint(0,0),Pa.currentScale=1,Pa.view.translate=new mxPoint(0,0),Pa.view.scale=1);var ub=Pa.getGraphBounds(),gb=0,tb=0,ob=J.get(),
pb=1/Pa.pageScale,hb=Oa.checked;if(hb){pb=parseInt(Ka.value);var Ab=parseInt(x.value);pb=Math.min(ob.height*Ab/(ub.height/Pa.view.scale),ob.width*pb/(ub.width/Pa.view.scale))}else pb=parseInt(Qa.value)/(100*Pa.pageScale),isNaN(pb)&&(la=1/Pa.pageScale,Qa.value="100 %");ob=mxRectangle.fromRectangle(ob);ob.width=Math.ceil(ob.width*la);ob.height=Math.ceil(ob.height*la);pb*=la;!hb&&Pa.pageVisible?(ub=Pa.getPageLayout(),gb-=ub.x*ob.width,tb-=ub.y*ob.height):hb=!0;ib=null!=ib?"page/id,"+ib:null;if(null==