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:
X.setAttribute("label",x.value||"");null!=Q?X.setAttribute(L,Q):X.removeAttribute(L);this.model.setValue(x,X)};Graph.prototype.isTargetShape=function(x,L,Q){x=mxUtils.getValue(this.getCurrentCellStyle(x),mxConstants.STYLE_SHAPE,"");for(Q=0;Q<L.length;Q++){var X=mxUtils.getValue(this.getCurrentCellStyle(L[Q]),"targetShapes","").split(",");if(0<=mxUtils.indexOf(X,x))return!0}return!1};var k=Graph.prototype.getDropTarget;Graph.prototype.getDropTarget=function(x,L,Q,X){if(mxEvent.isAltDown(L))return null;