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:
x.descriptorChanged=function(){R.apply(this,arguments);var S=x.getCurrentFile();if(null!=S&&null!=S.getTitle()){var X=S.getMode();"google"==X?X="googleDrive":"github"==X?X="gitHub":"gitlab"==X?X="gitLab":"onedrive"==X&&(X="oneDrive");X=mxResources.get(X);G.setAttribute("title",S.getTitle()+(null!=X?" ("+X+")":""))}else G.removeAttribute("title")};x.setStatusText(x.editor.getStatus());G.appendChild(x.statusContainer);x.buttonContainer=document.createElement("div");x.buttonContainer.style.cssText="display:flex;justify-content:flex-end;padding-right:10px;gap:6px;white-space:nowrap;background-color:inherit;align-items:center;min-width:0;margin-left:auto;";