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:
this.isOffline(!0)?window.setTimeout(y,0):(this.loadingMermaid=!0,"1"==urlParams.dev?("1"==urlParams.mermaidToDrawioTest&&mxMermaidToDrawio.addListener(mxUtils.bind(this,function(C){this.importXml(C,null,null,null,null,null,!0)})),mxscript("js/mermaid/mermaid.min.js",y,null,null,null,t)):mxscript("js/extensions.min.js",y,null,null,null,t))};EditorUi.prototype.generatePlantUmlImage=function(c,e,k,n){function p(C,G,B){c1=C>>2;c2=(C&3)<<4|G>>4;c3=(G&15)<<2|B>>6;c4=B&63;r="";r+=t(c1&63);r+=t(c2&63);r+=
t(c3&63);return r+=t(c4&63)}function t(C){if(10>C)return String.fromCharCode(48+C);C-=10;if(26>C)return String.fromCharCode(65+C);C-=26;if(26>C)return String.fromCharCode(97+C);C-=26;return 0==C?"-":1==C?"_":"?"}var y=new XMLHttpRequest;y.open("GET",("txt"==e?PLANT_URL+"/txt/":"png"==e?PLANT_URL+"/png/":PLANT_URL+"/svg/")+function(C){r="";for(i=0;i<C.length;i+=3)r=i+2==C.length?r+p(C.charCodeAt(i),C.charCodeAt(i+1),0):i+1==C.length?r+p(C.charCodeAt(i),0,0):r+p(C.charCodeAt(i),C.charCodeAt(i+1),C.charCodeAt(i+