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:
{fill:"#ffcc99",stroke:"#36393d"},{fill:"#cce5ff",stroke:"#36393d"},{fill:"#ffff88",stroke:"#36393d"},{fill:"#cdeb8b",stroke:"#36393d"},{fill:"#ffcccc",stroke:"#36393d"}]];StyleFormatPanel.prototype.customColorSchemes=null;StyleFormatPanel.prototype.findCommonProperties=function(m,B,K){if(null!=B){var R=function(W){if(null!=W)if(K)for(var Q=0;Q<W.length;Q++)B[W[Q].name]=W[Q];else for(var V in B){var X=!1;for(Q=0;Q<W.length;Q++)if(W[Q].name==V&&W[Q].type==B[V].type){X=!0;break}X||delete B[V]}},U=this.editorUi.editor.graph.view.getState(m);