CVE-2021-39946
MEDIUMCVSS 5.4/10EPSS 1.04%
Last modified
CVE-2021-39946 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 1.04% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitlab | Gitlab | >= 14.3, < 14.3.6 |
| Gitlab | Gitlab | >= 14.4, < 14.4.4 |
| Gitlab | Gitlab | >= 14.5, < 14.5.2 |
References
- https://gitlab.com/gitlab-org/gitlab/-/issues/345657Broken Link, Vendor Advisory
- https://hackerone.com/reports/1398305Permissions Required, Third Party Advisory
- https://gitlab.com/gitlab-org/gitlab/-/issues/345657Broken Link, Vendor Advisory
- https://hackerone.com/reports/1398305Permissions Required, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-39946?
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
How severe is CVE-2021-39946?
CVE-2021-39946 has a CVSS score of 5.4/10 (MEDIUM severity). The EPSS model estimates a 1.04% probability of exploitation in the next 30 days.
How do I fix CVE-2021-39946?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-39940An issue has been discovered in GitLab CE/EE affecting all v…6.5
- CVE-2021-39941An information disclosure vulnerability in GitLab CE/EE vers…5.3
- CVE-2021-39942A denial of service vulnerability in GitLab CE/EE affecting …6.5
- CVE-2021-39943An authorization logic error in the External Status Check AP…4.3
- CVE-2021-39944An issue has been discovered in GitLab CE/EE affecting all v…7.1
- CVE-2021-39945Improper access control in the GitLab CE/EE API affecting al…2.7
- CVE-2021-39947In specific circumstances, trace file buffers in GitLab Runn…7.5
- CVE-2021-3995A logic error was found in the libmount library of util-linu…5.5
- CVE-2021-3996A logic error was found in the libmount library of util-linu…5.5
- CVE-2021-39966There is an Uninitialized AOD driver structure in Smartphone…7.5
- CVE-2021-39967There is a Vulnerability of obtaining broadcast information …7.5
- CVE-2021-39968Changlian Blocklist has a Business Logic Errors vulnerabilit…7.5
Are you affected by CVE-2021-39946?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
