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