An issue has been discovered in GitLab affecting all versions starting from 9.3 before 15.4.6, all versions starting from 15.5 before 15.5.5, all versions starting from 15.6 before 15.6.1. It was possible for a project maintainer to unmask webhook secret tokens by reviewing the logs after testing webhooks.
https://hackerone.com/reports/1757999
https://gitlab.com/gitlab-org/gitlab/-/issues/381895
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-3902.json