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:
Q.getGlobalVariable=function(xa){return"page"==xa?ha.getName():"pagenumber"==xa?1:ea.apply(this,arguments)};document.body.appendChild(Q.container);Q.model.setRoot(ha.root)}if(null!=B.layerIds){var na=Q.model,Aa=na.getChildCells(na.getRoot()),Fa={};for(pa=0;pa<B.layerIds.length;pa++)Fa[B.layerIds[pa]]=!0;for(pa=0;pa<Aa.length;pa++)na.setVisible(Aa[pa],Fa[Aa[pa].id]||!1)}this.editor.exportToCanvas(mxUtils.bind(this,function(xa){W(xa.toDataURL("image/png"))}),B.width,null,B.background,mxUtils.bind(this,