Description
An issue has been discovered in GitLab CE/EE affecting all versions starting from 16.9 before 16.9.4, all versions starting from 16.10 before 16.10.2. A payload may lead to a Stored XSS while using the diff viewer, allowing attackers to perform arbitrary actions on behalf of victims.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
16.9 (semver) before 16.9.4
16.10 (semver) before 16.10.2
Credits
Thanks [yvvdwf](https://hackerone.com/yvvdwf) for reporting this vulnerability through our HackerOne bug bounty program
References
gitlab.com/gitlab-org/gitlab/-/issues/452510 (GitLab Issue #452510)
hackerone.com/reports/2441257 (HackerOne Bug Bounty Report #2441257)
gitlab.com/gitlab-org/gitlab/-/issues/452510 (GitLab Issue #452510)
hackerone.com/reports/2441257 (HackerOne Bug Bounty Report #2441257)