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:
"0"!=urlParams.pv;Graph.prototype.shadowId="dropShadow";Graph.prototype.svgShadowColor="#3D4574";Graph.prototype.svgShadowOpacity="0.4";Graph.prototype.svgShadowBlur="1.7";Graph.prototype.svgShadowSize="3";Graph.prototype.hiddenTags=[];Graph.prototype.defaultMathEnabled=!1;var e=Graph.prototype.init;Graph.prototype.init=function(){function g(P){y=P}e.apply(this,arguments);this.hiddenTags=[];window.mxFreehand&&(this.freehand=new mxFreehand(this));var y=null;mxEvent.addListener(this.container,"mouseenter",
g);mxEvent.addListener(this.container,"mousemove",g);mxEvent.addListener(this.container,"mouseleave",function(P){y=null});this.isMouseInsertPoint=function(){return null!=y};var H=this.getInsertPoint;this.getInsertPoint=function(){return null!=y?this.getPointForEvent(y):H.apply(this,arguments)};var O=this.layoutManager.getLayout;this.layoutManager.getLayout=function(P){var V=this.graph.getCellStyle(P);if(null!=V&&"rack"==V.childLayout){var R=new mxStackLayout(this.graph,!1);R.gridSize=null!=V.rackUnitSize?
parseFloat(V.rackUnitSize):"undefined"!==typeof mxRackContainer?mxRackContainer.unitSize:20;R.marginLeft=V.marginLeft||0;R.marginRight=V.marginRight||0;R.marginTop=V.marginTop||0;R.marginBottom=V.marginBottom||0;R.allowGaps=V.allowGaps||0;R.horizontal="1"==mxUtils.getValue(V,"horizontalRack","0");R.resizeParent=!1;R.fill=!0;return R}return O.apply(this,arguments)};this.updateGlobalUrlVariables()};var k=Graph.prototype.postProcessCellStyle;Graph.prototype.postProcessCellStyle=function(g,y){return Graph.processFontStyle(k.apply(this,