CVE-2022-0751: GitLab - Stored XSS
- Cve: CVE-2022-0751
- Name: GitLab - Stored XSS
- Description: Inaccurate display of Snippet files containing special characters in all versions of GitLab CE/EE allows an attacker to create Snippets with misleading content which could trick unsuspecting users into executing arbitrary commands
- Impact: Attackers can deceive users into executing arbitrary commands, potentially leading to system compromise or data breach.
- Remediation: Update to the latest version of GitLab CE/EE that addresses this issue or apply available patches.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01441
- Epss percentile: 0.73898
- Assignee: [email protected]
- Published at: 2022-03-28T19:15:08Z
- Age in days: 1702
- Modified at: 2026-06-17T04:21:10Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-0751
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
References
| Url | Source | Tags |
|---|---|---|
| https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-0751.json | nvd | Vendor Advisory |
| https://hackerone.com/reports/1420660 | nvd | Permissions Required, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gitlab:gitlab | >= 14.8, < 14.8.2; >= 14.7, < 14.7.4; >= 10.0, < 14.6.5 | no | nvd | /v1/products/gitlab/gitlab |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 66493
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports