Expected Findings
- Paste handler reads `text/html` from the clipboard and writes via `innerHTML`.
- Sanitizer was added once and removed for keeping styled content.
- Same handler is reused across the comments and DM surfaces.
The rich-paste handler reads `clipboardData` and writes it via `innerHTML`, so a copied snippet from a malicious page can execute script in the user's session.
CWE-79
el.innerHTML = e.clipboardData.getData("text/html")