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:
v.descriptorChanged=function(){U.apply(this,arguments);var Q=v.getCurrentFile();if(null!=Q&&null!=Q.getTitle()){var X=Q.getMode();"google"==X?X="googleDrive":"github"==X?X="gitHub":"gitlab"==X?X="gitLab":"onedrive"==X&&(X="oneDrive");X=mxResources.get(X);F.setAttribute("title",Q.getTitle()+(null!=X?" ("+X+")":""))}else F.removeAttribute("title")};v.setStatusText(v.editor.getStatus());F.appendChild(v.statusContainer);v.buttonContainer=document.createElement("div");v.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;";