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:
EditorUi.prototype.handleError=function(b,e,g,n,y){b=null!=b&&null!=b.error?b.error:b;if(null!=b||null!=e){y=mxUtils.htmlEntities(mxResources.get("unknownError"));var q=mxResources.get("ok");e=null!=e?e:mxResources.get("error");null!=b&&null!=b.message&&(y=mxUtils.htmlEntities(b.message));this.showError(e,y,q,g,null,null,null,null,null,null,null,null,n?g:null)}else null!=g&&g()};