Language: JavaScript
Label: safe
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:
var X=mxShape.prototype.paint;mxShape.prototype.paint=function(aa){var ba=aa.addTolerance,ia=!0;null!=this.style&&(ia="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(null!=aa.handJiggle&&aa.handJiggle.constructor==l&&!this.outline){aa.save();var qa=this.fill,ra=this.stroke;this.stroke=this.fill=null;var pa=this.configurePointerEvents,xa=aa.setStrokeColor;aa.setStrokeColor=function(){};var Ca=aa.setFillColor;aa.setFillColor=function(){};ia||null==qa||(this.configurePointerEvents=
function(){});aa.handJiggle.passThrough=!0;X.apply(this,arguments);aa.handJiggle.passThrough=!1;aa.setFillColor=Ca;aa.setStrokeColor=xa;this.configurePointerEvents=pa;this.stroke=ra;this.fill=qa;aa.restore();ia&&null!=qa&&(aa.addTolerance=function(){})}X.apply(this,arguments);aa.addTolerance=ba};var U=mxShape.prototype.paintGlassEffect;mxShape.prototype.paintGlassEffect=function(aa,ba,ia,qa,ra,pa){null!=aa.handJiggle&&aa.handJiggle.constructor==l?(aa.handJiggle.passThrough=!0,U.apply(this,arguments),