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:
f&&f(ca)}}),null,null,null,mxUtils.bind(this,function(ka){null!=f&&f(ka)}),null,null,u,null,C.shadowVisible,null,C,z,null,null,null,"diagram",null)}catch(ka){null!=f&&f(ka)}};EditorUi.prototype.getEmbeddedSvg=function(d,f,k,u,z,C,F,K,O,H,ka,fa,ca){K=null!=K?K:!0;ka=null!=ka?ka:0;F=null!=O?O:f.background;F==mxConstants.NONE&&(F=null);C=f.getSvg(F,H,ka,null,null,C,null,null,null,f.shadowVisible||fa,null,ca,"diagram");(f.shadowVisible||fa)&&f.addSvgShadow(C,null,null,0==ka);null!=d&&C.setAttribute("content",
d);null!=k&&C.setAttribute("resource",k);var ja=mxUtils.bind(this,function(ma){ma=(u?"":Graph.xmlDeclaration+"\n"+Graph.svgFileComment+"\n"+Graph.svgDoctype+"\n")+mxUtils.getXml(ma);null!=z&&z(ma);return ma});f.mathEnabled&&this.editor.addMathCss(C);if(null!=z)this.embedFonts(C,mxUtils.bind(this,function(ma){K?this.editor.convertImages(ma,mxUtils.bind(this,function(aa){ja(aa)})):ja(ma)}));else return ja(C)};EditorUi.prototype.embedFonts=function(d,f){this.editor.loadFonts(mxUtils.bind(this,function(){try{null!=