Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
parseInt(ea.value))))}function O(Ta){function Ia(ya,Ja,Ma,ra){var Fa=ya.useCssTransforms,Ka=ya.currentTranslate,Xa=ya.currentScale,Pa=ya.view.translate,Ra=ya.view.scale;ya.useCssTransforms&&(ya.useCssTransforms=!1,ya.currentTranslate=new mxPoint(0,0),ya.currentScale=1,ya.view.translate=new mxPoint(0,0),ya.view.scale=1);var Oa=ya.getGraphBounds(),Na=0,Ya=0,Wa=Ea.get(),ab=1/ya.pageScale,$a=Ba.checked;if($a){ab=parseInt(ua.value);var gb=parseInt(va.value);ab=Math.min(Wa.height*gb/(Oa.height/ya.view.scale),
Wa.width*ab/(Oa.width/ya.view.scale))}else ab=parseInt(Ca.value)/(100*ya.pageScale),isNaN(ab)&&(Sa=1/ya.pageScale,Ca.value="100 %");Wa=mxRectangle.fromRectangle(Wa);Wa.width=Math.ceil(Wa.width*Sa);Wa.height=Math.ceil(Wa.height*Sa);ab*=Sa;!$a&&ya.pageVisible?(Oa=ya.getPageLayout(),Na-=Oa.x*Wa.width,Ya-=Oa.y*Wa.height):$a=!0;ra=null!=ra?"page/id,"+ra:null;if(null==Ja){Ja=PrintDialog.createPrintPreview(ya,ab,Wa,0,Na,Ya,$a);Ja.pageSelector=!1;Ja.mathEnabled=!1;na.checked&&(Ja.isCellVisible=function(Za){return ya.isCellSelected(Za)});