Description
An issue has been discovered in GitLab CE/EE affecting all versions from 17.3 before 17.4.6, 17.5 before 17.5.4, and 17.6 before 17.6.2. Improper output encoding could lead to XSS if CSP is not enabled.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
17.6 (semver) before 17.6.2
17.5 (semver) before 17.5.4
17.3 (semver) before 17.4.6
Credits
Thanks [joaxcar](https://hackerone.com/joaxcar) for reporting this vulnerability through our HackerOne bug bounty program
References
gitlab.com/gitlab-org/gitlab/-/issues/480718 (GitLab Issue #480718)
hackerone.com/reports/2665929 (HackerOne Bug Bounty Report #2665929)