In Forgejo before 1.20.5-1, certain endpoints do not check whether an object belongs to a repository for which permissions are being checked. This allows remote attackers to read private issues, read private pull requests, delete issues, and perform other unauthorized actions.
https://github.com/gogs/gogs/security
https://forgejo.org/2023-11-release-v1-20-5-1/
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md