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:
function(O){O=b.base64ToBlob(G,"image/png");O=new ClipboardItem({"image/png":O,"text/html":new Blob(['<img src="data:'+c+";base64,"+G+'">'],{type:"text/html"})});navigator.clipboard.write([O]).then(mxUtils.bind(this,function(){b.alert(mxResources.get("copiedToClipboard"))}))["catch"](mxUtils.bind(this,function(P){b.handleError(P)}))}),k.style.marginTop="6px",k.className="geBtn");L&&Editor.popupsAllowed&&(q.style.cursor="pointer",mxEvent.addGestureListeners(q,null,null,function(O){mxEvent.isPopupTrigger(O)||