An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.4 before 14.10.5, all versions starting from 15.0 before 15.0.4, all versions starting from 15.1 before 15.1.1. GitLab reveals if a user has enabled two-factor authentication on their account in the HTML source, to unauthenticated users.
https://hackerone.com/reports/1470023
https://gitlab.com/gitlab-org/gitlab/-/issues/352210
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1963.json