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:
function(){var g=this.editorUi.getSelectionState();null!=this.defaultColorSchemes&&0<this.defaultColorSchemes.length&&"image"!=g.style.shape&&!g.containsLabel&&0<g.cells.length&&this.container.appendChild(this.addStyles(this.createPanel()));J.apply(this,arguments);if(Editor.enableCustomProperties){for(var y={},H=g.vertices,O=g.edges,P=0;P<H.length;P++)this.findCommonProperties(H[P],y,0==P);for(P=0;P<O.length;P++)this.findCommonProperties(O[P],y,0==H.length&&0==P);null!=Object.getOwnPropertyNames&&
0<Object.getOwnPropertyNames(y).length&&this.container.appendChild(this.addProperties(this.createPanel(),y,g))}};var c=StyleFormatPanel.prototype.addStyleOps;StyleFormatPanel.prototype.addStyleOps=function(g){var y=this.editorUi.getSelectionState();1==y.cells.length?this.addActions(g,["copyStyle","pasteStyle"]):1<=y.cells.length&&this.addActions(g,["pasteStyle","pasteData"]);return c.apply(this,arguments)};EditorUi.prototype.propertiesCollapsed=!0;StyleFormatPanel.prototype.addProperties=function(g,