Lemmy has an XSS vulnerability in the Markdown parser
sh.itjust.works
sh.itjust.works
I think even the worst static code analyzers would have caught this.
Looking at the code that was injected by an attacker it seems like they were trying to extract user sessions and exfiltrate it.