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:
"'),")}}));d.actions.addAction("showBoundingBox",mxUtils.bind(this,function(){function f(x){return null==x||null==x.boundingBox||!isNaN(x.boundingBox.x)&&!isNaN(x.boundingBox.y)&&!isNaN(x.boundingBox.width)&&!isNaN(x.boundingBox.height)}var u=q.getGraphBounds(),D=q.view.translate,E=q.view.scale;q.insertVertex(q.getDefaultParent(),null,"",u.x/E-D.x,u.y/E-D.y,u.width/E,u.height/E,"fillColor=none;strokeColor=red;");var M=0,k=0;q.view.states.visit(function(x,F){x=!0;f(F.shape)||(console.log("invalid shape",