Language: JavaScript
Label: vulnerable
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:
function(){var x=N.origGuideDestroy.apply(this,arguments);if(null!=N.guidePart)try{c.putImageData(N.guidePart.imgData1,N.guidePart.x1,N.guidePart.y1),c.putImageData(N.guidePart.imgData2,N.guidePart.x2,N.guidePart.y2),c.putImageData(N.guidePart.imgData3,N.guidePart.x3,N.guidePart.y3),N.guidePart=null}catch(B){}return x}}mxRuler.prototype.RULER_THICKNESS=14;mxRuler.prototype.unit=mxConstants.POINTS;mxRuler.prototype.setUnit=function(b){this.unit=b;this.drawRuler()};