Language: JavaScript
Label: vulnerable
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(m,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 Q in z){var X=!1;for(V=0;V<W.length;V++)if(W[V].name==Q&&W[V].type==z[Q].type){X=!0;break}X||delete z[Q]}},T=this.editorUi.editor.graph.view.getState(m);
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));m=m.getAttribute("customProperties");if(null!=m)try{O(JSON.parse(m))}catch(W){}}};var H=StyleFormatPanel.prototype.init;StyleFormatPanel.prototype.init=