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:
b.installResizeHandler(this,!1)},TagsWindow=function(b,e,f,c,k){var m=b.editor.graph,u=null;if(!b.isOffline()||mxClient.IS_CHROMEAPP)u=b.menus.createHelpLink("https://www.drawio.com/blog/tags-in-diagrams"),u.style.marginLeft="8px";var v=b.editor.graph.createTagsDialog(mxUtils.bind(this,function(){return this.window.isVisible()}),null,function(E,D){if(m.isEnabled()){var A=new FilenameDialog(b,"",mxResources.get("add"),function(L){b.hideDialog();if(null!=L&&0<L.length){L=L.split(" ");for(var H=[],d=
0;d<L.length;d++){var g=mxUtils.trim(L[d]);""!=g&&0>mxUtils.indexOf(E,g)&&H.push(g)}0<H.length&&(m.isSelectionEmpty()?D(E.concat(H)):m.addTagsForCells(m.getSelectionCells(),H))}},mxResources.get("enterValue")+" ("+mxResources.get("tags")+")");b.showDialog(A.container,300,80,!0,!0);A.init()}},u);u=v.div;this.window=new mxWindow(mxResources.get("tags"),u,e,f,c,k,!0,!0);this.window.minimumSize=new mxRectangle(0,0,212,120);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);
this.window.setClosable(!0);this.window.addListener("show",mxUtils.bind(this,function(){v.refresh();this.window.fit()}));b.installResizeHandler(this,!0)},AuthDialog=function(b,e,f,c){var k=document.createElement("div");k.style.textAlign="center";var m=document.createElement("p");m.style.fontSize="16pt";m.style.padding="0px";m.style.margin="0px";m.style.color="gray";mxUtils.write(m,mxResources.get("authorizationRequired"));var u="Unknown",v=document.createElement("img");v.setAttribute("border","0");