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:
T.getGlobalVariable=function(ta){return"page"==ta?ha.getName():"pagenumber"==ta?1:ea.apply(this,arguments)};document.body.appendChild(T.container);T.model.setRoot(ha.root)}if(null!=G.layerIds){var la=T.model,ya=la.getChildCells(la.getRoot()),Ca={};for(qa=0;qa<G.layerIds.length;qa++)Ca[G.layerIds[qa]]=!0;for(qa=0;qa<ya.length;qa++)la.setVisible(ya[qa],Ca[ya[qa].id]||!1)}this.editor.exportToCanvas(mxUtils.bind(this,function(ta){V(ta.toDataURL("image/png"))}),G.width,null,G.background,mxUtils.bind(this,