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:
this.createImageDataUri(O,Q,"png");G(O)}),null,null,null,mxUtils.bind(this,function(O){A({message:mxResources.get("unknownError")})}),null,!0,k?2:1,null,e,null,null,Editor.defaultBorder);else if(e=this.getFileData(!0),C.width*C.height<=MAX_AREA&&e.length<=MAX_REQUEST_SIZE){var S="";k&&(S="&w="+Math.round(2*C.width)+"&h="+Math.round(2*C.height));var N=new mxXmlRequest(EXPORT_URL,"format=png&base64=1&embedXml="+(n?"1":"0")+S+"&xml="+encodeURIComponent(e));N.send(mxUtils.bind(this,function(){200<=N.getStatus()&&