{"id":"CVE-2021-39946","details":"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","aliases":["BIT-gitlab-2021-39946"],"modified":"2026-08-27T19:00:48.538691Z","published":"2022-01-18T17:15:08.777Z","references":[{"type":"ADVISORY","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39946.json"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/345657"},{"type":"REPORT","url":"https://hackerone.com/reports/1398305"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"dec73e99fddac59c0bf816dc4bffd2a30abae6de"},{"fixed":"057790c613dea428aa523357c333ced5433794ee"},{"introduced":"19c719febd74b6edf549bf6a2c0e36bf8f176d56"},{"fixed":"a1175384df48e74899d664520601823016d81084"},{"introduced":"490a8efda84a04e31ac41b882d95bb717c202437"},{"fixed":"4511944420f00a68d5df2b3d81e5dae7fa2888f3"}],"database_specific":{"cpe":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"],"extracted_events":[{"introduced":"14.3"},{"fixed":"14.3.6"},{"introduced":"14.4"},{"fixed":"14.4.4"},{"introduced":"14.5"},{"fixed":"14.5.2"}],"source":"CPE_RANGE"}}],"versions":["v14.5.1-ee","v14.4.3-ee","v14.3.5-ee","v14.3.2-ee","v14.5.0-ee","v14.4.2-ee","v14.4.0-ee","v14.3.3-ee","v14.3.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39946.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}