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:
B=new mxAsyncCanvas(this.thumbImageCache);G.images=this.thumbImageCache.images;var V=new mxImageExport;V.drawShape=function(R,O){R.shape instanceof mxShape&&R.shape.checkBounds()&&(O.save(),O.translate(.5,.5),R.shape.paint(O),O.translate(-.5,-.5),O.restore())};V.drawText=function(R,O){};V.drawState(z.getView().getState(z.model.root),B);B.finish(mxUtils.bind(this,function(){try{V.drawState(z.getView().getState(z.model.root),G),z!=this.editor.graph&&null!=z.container.parentNode&&z.container.parentNode.removeChild(z.container)}catch(R){U=