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:
e&&e(O)}}),null,null,null,mxUtils.bind(this,function(V){null!=e&&e(V)}),null,null,n,null,t.shadowVisible,null,t,p,null,null,null,"diagram",null)}catch(V){null!=e&&e(V)}};EditorUi.prototype.getEmbeddedSvg=function(c,e,k,n,p,t,y,C,G,B,V,R,O){C=null!=C?C:!0;V=null!=V?V:0;y=null!=G?G:e.background;y==mxConstants.NONE&&(y=null);t=e.getSvg(y,B,V,null,null,t,null,null,null,e.shadowVisible||R,null,O,"diagram");(e.shadowVisible||R)&&e.addSvgShadow(t,null,null,0==V);null!=c&&t.setAttribute("content",c);null!=
k&&t.setAttribute("resource",k);var P=mxUtils.bind(this,function(N){N=(n?"":Graph.xmlDeclaration+"\n"+Graph.svgFileComment+"\n"+Graph.svgDoctype+"\n")+mxUtils.getXml(N);null!=p&&p(N);return N});e.mathEnabled&&this.editor.addMathCss(t);if(null!=p)this.embedFonts(t,mxUtils.bind(this,function(N){C?this.editor.convertImages(N,mxUtils.bind(this,function(H){P(H)})):P(N)}));else return P(t)};EditorUi.prototype.embedFonts=function(c,e){this.editor.loadFonts(mxUtils.bind(this,function(){try{null!=this.editor.resolvedFontCss&&