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:
null!=Graph.diagramLanguage&&mxUtils.isNode(x.value)&&x.value.hasAttribute("tooltip_"+Graph.diagramLanguage)&&(Q="tooltip_"+Graph.diagramLanguage);this.setAttributeForCell(x,Q,L)};Graph.prototype.getAttributeForCell=function(x,L,Q){x=null!=x.value&&"object"===typeof x.value?x.value.getAttribute(L):null;return null!=x?x:Q};Graph.prototype.setAttributeForCell=function(x,L,Q){if(null!=x.value&&"object"==typeof x.value)var X=x.value.cloneNode(!0);else X=mxUtils.createXmlDocument().createElement("UserObject"),