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:
(x=2);return x};var Q=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return Q.apply(this,arguments).grow(-this.getSelectionBorderInset())};var Y=null,m=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){null==Y&&(Y=mxCellRenderer.defaultShapes.tableLine);var x=m.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var L=function(bb,
$a,Ra){for(var db=[],lb=0;lb<bb.length;lb++){var kb=bb[lb];db.push(null==kb?null:new mxPoint((sa+kb.x+$a)*la,(va+kb.y+Ra)*la))}return db},P=this,X=this.graph,ea=X.model,la=X.view.scale,oa=this.state,xa=this.selectionBorder,sa=this.state.origin.x+X.view.translate.x,va=this.state.origin.y+X.view.translate.y;null==x&&(x=[]);var Fa=X.view.getCellStates(ea.getChildCells(this.state.cell,!0));if(0<Fa.length){var Ua=ea.getChildCells(Fa[0].cell,!0),ab=X.getTableLines(this.state.cell,!1,!0),Na=X.getTableLines(this.state.cell,