In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.
https://www.mend.io/vulnerability-database/CVE-2022-32174
https://github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263