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