Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

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(l,z,J){if(null!=z){var O=function(W){if(null!=W)if(J)for(var V=0;V<W.length;V++)z[W[V].name]=W[V];else for(var S in z){var X=!1;for(V=0;V<W.length;V++)if(W[V].name==S&&W[V].type==z[S].type){X=!0;break}X||delete z[S]}},T=this.editorUi.editor.graph.view.getState(l);
null!=T&&null!=T.shape&&(T.shape.commonCustomPropAdded||(T.shape.commonCustomPropAdded=!0,T.shape.customProperties=T.shape.customProperties||[],T.cell.vertex?Array.prototype.push.apply(T.shape.customProperties,Editor.commonVertexProperties):Array.prototype.push.apply(T.shape.customProperties,Editor.commonEdgeProperties)),O(T.shape.customProperties));l=l.getAttribute("customProperties");if(null!=l)try{O(JSON.parse(l))}catch(W){}}};var H=StyleFormatPanel.prototype.init;StyleFormatPanel.prototype.init=