# CVE-2022-0751: Inaccurate display of Snippet files containing special characters in all versions of GitLab CE/EE allows an attacker to create Snippets wit…

- Severity: Medium 6.5 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.44%, higher than 73% of CVEs (2026-12-01)
- Published: 2022-03-28T18:53:03.000Z
- Modified: 2026-09-08T08:47:38.664Z
- Also known as: BIT-GITLAB-2022-0751
- Assigned by: GitLab

## 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

(As written by CVE List.)

## Affected

- GitLab GitLab: >=10.0, <14.6.5; >=14.7, <14.7.4; >=14.8, <14.8.2; from 10.0 before 14.6.5; from 14.7 before 14.7.4; from 14.8 before 14.8.2
- gitlab (Bitnami): from 10.0.0 before 14.6.5; from 14.7.0 before 14.7.4; from 14.8.0 before 14.8.2

## Every score

- GitLab: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://gitlab.com/gitlab-org/gitlab/-/issues/349382> (advisory, broken-link, vendor-advisory)
- <https://hackerone.com/reports/1420660> (advisory, permissions-required, third-party-advisory)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-0751.json> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0751> (web)

## Sources

- CVE List: [CVE-2022-0751](https://www.cve.org/CVERecord?id=CVE-2022-0751), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2022-0751](https://nvd.nist.gov/vuln/detail/CVE-2022-0751), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2022-0751](https://osv.dev/vulnerability/BIT-GITLAB-2022-0751), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-0751 · Whole record: https://cve.day/CVE-2022-0751.json · Rebuilt by cve.day 2026-11-25T22:58:10.299Z
