Deleting a label compared the ID of the repository in the request against the organization ID of organization labels, and the two ID sequences overlap. A user with write access to the issues of a repository could therefore delete the labels of an organization that has the same numeric ID as that repository. Labels are now deleted only within their own repository or organization.
https://github.com/go-gitea/gitea/security/advisories/GHSA-fxq4-gr55-7x5g
https://github.com/go-gitea/gitea/releases/tag/v28.2.0
https://github.com/go-gitea/gitea/pull/39752
https://github.com/go-gitea/gitea/pull/39743