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:
T+'" xmlns="'+mxConstants.NS_SVG+'"><defs><pattern id="grid" width="'+T+'" height="'+T+'" patternUnits="userSpaceOnUse"><path d="'+F.join(" ")+'" fill="none" stroke="'+E+'" opacity="0.2" stroke-width="1"/><path d="M '+T+" 0 L 0 0 0 "+T+'" fill="none" stroke="'+E+'" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(#grid)"/></svg>'};var b=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(E,M){b.apply(this,arguments);if(null!=this.shiftPreview1){var T=this.view.canvas;
null!=T.ownerSVGElement&&(T=T.ownerSVGElement);var F=this.gridSize*this.view.scale*this.view.gridSteps;F=-Math.round(F-mxUtils.mod(this.view.translate.x*this.view.scale+E,F))+"px "+-Math.round(F-mxUtils.mod(this.view.translate.y*this.view.scale+M,F))+"px";T.style.backgroundPosition=F}};mxGraph.prototype.updatePageBreaks=function(E,M,T){var F=this.view.scale,K=this.view.translate,R=this.pageFormat,W=F*this.pageScale,d=this.view.getBackgroundPageBounds();M=d.width;T=d.height;var f=new mxRectangle(F*