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:
"border-box";n.style.maxHeight="50px";n.style.maxWidth="100%";n.style.paddingLeft="10px";d.appendChild(n);mxClient.IS_FF||"image/png"!=m||null==navigator.clipboard||"function"!==typeof window.ClipboardItem||(g=mxUtils.button(mxResources.get("copy"),function(){var Q=b.base64ToBlob(q,"image/png");Q=new ClipboardItem({"image/png":Q,"text/html":new Blob(['<img src="data:'+m+";base64,"+q+'">'],{type:"text/html"})});navigator.clipboard.write([Q]).then(mxUtils.bind(this,function(){b.alert(mxResources.get("copiedToClipboard"))}))["catch"](mxUtils.bind(this,
function(P){b.handleError(P)}))},null,"geBtn"))}k=document.createElement("div");k.style.display="flex";k.style.padding="1px";k.style.alignItems="center";k.style.justifyContent="flex-end";k.style.gridColumn="1";k.style.whiteSpace="nowrap";u=document.createElement("div");u.style.display="grid";u.style.padding="1px";u.style.alignItems="center";u.style.gridColumn="2";u.style.gridAutoColumns="minmax(0,1fr) auto";u.style.gap="6px";mxUtils.write(k,mxResources.get("saveAs")+":");var t=document.createElement("input");