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