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:
g.addListener(mxEvent.SIZE,e);g.container.addEventListener("scroll",c);g.view.addListener("unitChanged",this.unitListener);b.addListener("pageViewChanged",this.pageListener);b.addListener("pageScaleChanged",this.pageListener);b.addListener("pageFormatChanged",this.pageListener);this.setStyle=function(B){z=B;N.style.background=z.bkgClr;t()};this.origGuideMove=mxGuide.prototype.move;mxGuide.prototype.move=function(B,H,L,G){if(f&&4<B.height||!f&&4<B.width){if(null!=D.guidePart)try{d.putImageData(D.guidePart.imgData1,
D.guidePart.x1,D.guidePart.y1),d.putImageData(D.guidePart.imgData2,D.guidePart.x2,D.guidePart.y2),d.putImageData(D.guidePart.imgData3,D.guidePart.x3,D.guidePart.y3)}catch(m){}var T=D.origGuideMove.apply(this,arguments);try{d.lineWidth=.5;d.strokeStyle=z.guideClr;d.setLineDash([2]);if(f){var p=B.y+T.y+E-this.graph.container.scrollTop;var q=0;var C=p+B.height/2;var J=E/2;var F=p+B.height;var O=0;var S=d.getImageData(q,p-1,E,3);n(q,p,E,p);p--;var K=d.getImageData(J,C-1,E,3);n(J,C,E,C);C--;var R=d.getImageData(O,
F-1,E,3);n(O,F,E,F);F--}else p=0,q=B.x+T.x+E-this.graph.container.scrollLeft,C=E/2,J=q+B.width/2,F=0,O=q+B.width,S=d.getImageData(q-1,p,3,E),n(q,p,q,E),q--,K=d.getImageData(J-1,C,3,E),n(J,C,J,E),J--,R=d.getImageData(O-1,F,3,E),n(O,F,O,E),O--;if(null==D.guidePart||D.guidePart.x1!=q||D.guidePart.y1!=p)D.guidePart={imgData1:S,x1:q,y1:p,imgData2:K,x2:J,y2:C,imgData3:R,x3:O,y3:F}}catch(m){}}else T=D.origGuideMove.apply(this,arguments);return T};this.origGuideDestroy=mxGuide.prototype.destroy;mxGuide.prototype.destroy=