Security readout for executives and security teams
Plain-English summary
CVE-2021-22241 is a high-severity stored cross-site scripting issue in GitLab CE/EE. A low-privileged user could create a crafted default branch name that executes in another user’s browser when viewed, potentially exposing data or actions within GitLab.
Executive priority
Treat this as a prompt upgrade item for affected GitLab installations. The issue can affect confidentiality and integrity, but available sources do not establish active exploitation.
Technical view
GitLab CE/EE 14.0.x before 14.0.7 and 14.1.x before 14.1.2 are listed as affected. The CVSS 3.1 vector indicates network access, low attack complexity, low privileges, required user interaction, changed scope, and high confidentiality and integrity impact.
Likely exposure
Exposure is most likely in self-managed GitLab CE/EE instances running the affected 14.0 or 14.1 release ranges, especially where untrusted users can create projects or control default branch names.
Exploitation context
The bundle does not report CISA KEV listing or cited active exploitation. Exploitation requires a crafted default branch name and a victim user interaction in the GitLab interface.
Researcher notes
The key exposure condition is stored XSS through a crafted default branch name. The provided CVSS vector supports serious impact but still requires victim interaction. Source evidence is limited to GitLab-linked records and the public report reference.
Mitigation direction
- Identify all GitLab CE/EE instances and record exact versions.
- Upgrade any affected 14.0.x or 14.1.x instance outside the listed vulnerable ranges.
- Check GitLab vendor guidance before applying compensating controls.
- Review who can create projects or change default branch names.
- Prioritize remediation for internet-facing or multi-tenant GitLab instances.
Validation and detection
- Compare deployed GitLab versions against affected ranges in the CVE record.
- Confirm upgraded instances are no longer in 14.0 before 14.0.7 or 14.1 before 14.1.2.
- Review project audit data for unusual default branch names where available.
- Validate browser-facing GitLab pages render branch names safely after remediation.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-22241 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 8.7 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N2.35.8Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
8.7HighVector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://gitlab.com/gitlab-org/gitlab/-/issues/336460CVE reference · x_refsource_MISC
- https://hackerone.com/reports/1256777CVE reference · x_refsource_MISC
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22241.jsonCVE reference · x_refsource_CONFIRM
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
