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:
(ja?"geTempDlgRadioBtnLarge":"geTempDlgRadioBtnSmall");B.querySelector("."+da).src="/images/"+la+"-sel.svg";B.querySelector("."+oa).src="/images/"+ia+".svg";return!0}function t(ka,da,la,ma){function oa(wa,Ja){null==ja?(wa=/^https?:\/\//.test(wa)&&!b.editor.isCorsEnabledForUrl(wa)?PROXY_URL+"?url="+encodeURIComponent(wa):TEMPLATE_PATH+"/"+wa,mxUtils.get(wa,mxUtils.bind(this,function(Ha){200<=Ha.getStatus()&&299>=Ha.getStatus()&&(ja=Ha.getText());Ja(ja)}))):Ja(ja)}function ia(wa,Ja,Ha){if(null!=wa&&
mxUtils.isAncestorNode(document.body,da)&&(wa=mxUtils.parseXml(wa),wa=Editor.extractGraphModel(wa.documentElement,!0),null!=wa)){"mxfile"==wa.nodeName&&(wa=Editor.parseDiagramNode(wa.getElementsByTagName("diagram")[0]));var ya=new mxCodec(wa.ownerDocument),La=new mxGraphModel;ya.decode(wa,La);wa=La.root.getChildAt(0).children||[];b.sidebar.createTooltip(da,wa,Math.min((window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)-80,1E3),Math.min((window.innerHeight||document.documentElement.clientHeight||
document.body.clientHeight)-80,800),null!=ka.title?mxResources.get(ka.title,null,ka.title):null,!0,new mxPoint(Ja,Ha),!0,null,!0);var Ca=document.createElement("div");Ca.className="geTempDlgDialogMask";B.appendChild(Ca);var ua=b.sidebar.hideTooltip;b.sidebar.hideTooltip=function(){Ca&&(B.removeChild(Ca),Ca=null,ua.apply(this,arguments),b.sidebar.hideTooltip=ua)};mxEvent.addListener(Ca,"click",function(){b.sidebar.hideTooltip()})}}var ja=null;if(qa||b.sidebar.currentElt==da)b.sidebar.hideTooltip();