RULE(RULE ID:334110)

Rule General Information
Release Date: 2021-11-16
Rule Name: GitLab CE EE Branch Name Stored Cross Site Scripting Vulnerability (CVE-2021-22241)
Severity:
CVE ID:
Rule Protection Details
Description: An issue has been discovered in GitLab CE/EE affecting all versions starting from 14.0. It was possible to exploit a stored cross-site-scripting via a specifically crafted default branch name.
Impact: An attacker can conduct a cross-site scripting attack to inject malicious client-side scripts into web pages viewed by other users, or to bypass access controls such as the same-origin policy, if affected version is installed.
Affected OS: Windows, Others
Reference: https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22241.json
https://gitlab.com/gitlab-org/gitlab/-/issues/336460
https://hackerone.com/reports/1256777
Solutions
The vendors have released upgrade patches to fix vulnerabilities, please visit:
https://about.gitlab.com/