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:
mxLanguage))})})};if(!App.isMainCalled)if(App.isMainCalled=!0,window.onerror=function(I,c,e,k,n){EditorUi.logError("Global: "+(null!=I?I:""),c,e,k,n,null,!0);null==window.console||EditorUi.isElectronApp?(mxLog.show(),mxLog.debug("Message:",I,"\nURL:",c,"\nLine:",e,"\nColumn:",k,"\nError:",n)):console.error("Message:",I,"\nURL:",c,"\nLine:",e,"\nColumn:",k,"\nError:",n);window.setTimeout(function(){alert("Error: "+(null!=I?I:""))},100)},window.top!=window.self||"import.diagrams.net"!==window.location.hostname&&