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:
l=PROXY_URL+"?url="+encodeURIComponent(l)+"&"+N+(A?"&base64=1":"")}return l};Editor.prototype.isCorsEnabledForUrl=function(l){if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||l.substring(0,window.location.origin.length)==window.location.origin)return!0;null!=urlParams.cors&&null==this.corsRegExp&&(this.corsRegExp=new RegExp(decodeURIComponent(urlParams.cors)));return null!=this.corsRegExp&&this.corsRegExp.test(l)||"https://raw.githubusercontent.com/"===l.substring(0,34)||"https://fonts.googleapis.com/"===
l.substring(0,29)||"https://fonts.gstatic.com/"===l.substring(0,26)};Editor.prototype.createImageUrlConverter=function(){var l=new mxUrlConverter;l.updateBaseUrl();var A=l.convert,N=this;l.convert=function(X){if(null!=X){var U="http://"==X.substring(0,7)||"https://"==X.substring(0,8);U&&!navigator.onLine?X=Editor.svgBrokenImage.src:!U||X.substring(0,l.baseUrl.length)==l.baseUrl||N.crossOriginImages&&N.isCorsEnabledForUrl(X)?"chrome-extension://"==X.substring(0,19)||mxClient.IS_CHROMEAPP||(X=A.apply(this,