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:
d,J,v,D),M&&!G?J.y=k.y:G&&!M&&(J.x=k.x),k.y!=J.y&&null!=this.guideY&&null!=this.guideY.node&&(this.guideY.node.style.visibility="hidden"),k.x!=J.x&&null!=this.guideX&&null!=this.guideX.node&&(this.guideX.node.style.visibility="hidden"),J;T(!0,!0);return b.apply(this,arguments)};var f=mxGuide.prototype.setVisible;mxGuide.prototype.setVisible=function(d){f.call(this,d);var u=this.guidesArrVer,v=this.guidesArrHor;if(null!=u)for(var D=0;D<u.length;D++)u[D].node.style.visibility=d?"visible":"hidden";if(null!=
v)for(D=0;D<v.length;D++)v[D].node.style.visibility=d?"visible":"hidden"};var m=mxGuide.prototype.destroy;mxGuide.prototype.destroy=function(){m.call(this);var d=this.guidesArrVer,u=this.guidesArrHor;if(null!=d){for(var v=0;v<d.length;v++)d[v].destroy();this.guidesArrVer=null}if(null!=u){for(v=0;v<u.length;v++)u[v].destroy();this.guidesArrHor=null}}})();function mxRuler(b,f,m,d){function u(){var x=b.diagramContainer;S.style.top=x.offsetTop-K+"px";S.style.left=x.offsetLeft-K+"px";S.style.width=(m?0:x.offsetWidth)+K+"px";S.style.height=(m?x.offsetHeight:0)+K+"px"}function v(x,C,I){if(null!=D)return x;var B;return function(){var T=this,l=arguments,n=I&&!B;clearTimeout(B);B=setTimeout(function(){B=null;I||x.apply(T,l)},C);n&&x.apply(T,l)}}var D=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,