What’s Vulnerable › Vulnerabilities
CVE-2021-39946
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-01-18 · updated 2026-06-17
- Weakness: CWE-79
Description
Improper neutralization of user input in GitLab CE/EE versions 14.3 to 14.3.6, 14.4 to 14.4.4, and 14.5 to 14.5.2 allowed an attacker to exploit XSS by abusing the generation of the HTML code related to emojis
Affected products
- GitLab: from 14.3 before 14.3.6; from 14.4 before 14.4.4; from 14.5 before 14.5.2 — fixed in 14.3.6, 14.4.4, 14.5.2
How to fix
Upgrade to a fixed version: GitLab 14.3.6, 14.4.4, 14.5.2. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39946.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/345657
- https://hackerone.com/reports/1398305
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39946.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/345657
- https://hackerone.com/reports/1398305
Get alerted when CVE-2021-39946 or the next vulnerability affects your stack