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:
null,null,B))}),u)};EditorUi.prototype.createMermaidXml=function(d,f,k,u,z){var B=new Graph(document.createElement("div"));k=B.insertVertex(null,null,null,0,0,u,z,"shape=image;noLabel=1;verticalAlign=top;imageAspect=1;image="+k+";");B.setAttributeForCell(k,"mermaidData",JSON.stringify({data:d,config:f},null,2));d=(new mxCodec).encode(B.getModel());return mxUtils.getXml(d)};EditorUi.prototype.generateOpenAiMermaidDiagram=function(d,f,k){var u=0,z=mxUtils.bind(this,function(){this.spinner.spin(document.body,